summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-07-05 11:43:16 +0200
committerBjörn Jacke <bj@sernet.de>2012-07-05 22:00:52 +0200
commitf9fb1ef85c8bc584e6d0f3e520f56bf0f3f3bf9f (patch)
tree5fe061625b65feafa335bb827c0ef416c6fef6da /source3
parent5ba91fff9483acf93ed99d16027111df7430f87e (diff)
downloadsamba-f9fb1ef85c8bc584e6d0f3e520f56bf0f3f3bf9f.tar.gz
samba-f9fb1ef85c8bc584e6d0f3e520f56bf0f3f3bf9f.tar.bz2
samba-f9fb1ef85c8bc584e6d0f3e520f56bf0f3f3bf9f.zip
s3: evaluate MNT_QUOTA and MNT_RDONLY in statvfs also on darwin
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/statvfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/statvfs.c b/source3/smbd/statvfs.c
index 85a83c2df8..94ec2d5146 100644
--- a/source3/smbd/statvfs.c
+++ b/source3/smbd/statvfs.c
@@ -105,11 +105,11 @@ static int bsd_statvfs(const char *path, vfs_statvfs_struct *statbuf)
if (sbuf.f_flags & MNT_ACLS)
statbuf->FsCapabilities |= FILE_PERSISTENT_ACLS;
#endif
+#endif
if (sbuf.f_flags & MNT_QUOTA)
statbuf->FsCapabilities |= FILE_VOLUME_QUOTAS;
if (sbuf.f_flags & MNT_RDONLY)
statbuf->FsCapabilities |= FILE_READ_ONLY_VOLUME;
-#endif
}
return ret;