diff options
author | Björn Jacke <bj@sernet.de> | 2012-07-05 11:43:16 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2012-07-05 22:00:52 +0200 |
commit | f9fb1ef85c8bc584e6d0f3e520f56bf0f3f3bf9f (patch) | |
tree | 5fe061625b65feafa335bb827c0ef416c6fef6da | |
parent | 5ba91fff9483acf93ed99d16027111df7430f87e (diff) | |
download | samba-f9fb1ef85c8bc584e6d0f3e520f56bf0f3f3bf9f.tar.gz samba-f9fb1ef85c8bc584e6d0f3e520f56bf0f3f3bf9f.tar.bz2 samba-f9fb1ef85c8bc584e6d0f3e520f56bf0f3f3bf9f.zip |
s3: evaluate MNT_QUOTA and MNT_RDONLY in statvfs also on darwin
-rw-r--r-- | source3/smbd/statvfs.c | 2 |
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; |