git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ba91ff
)
s3: evaluate MNT_QUOTA and MNT_RDONLY in statvfs also on darwin
author
Björn Jacke
<bj@sernet.de>
Thu, 5 Jul 2012 09:43:16 +0000
(11:43 +0200)
committer
Björn Jacke
<bj@sernet.de>
Thu, 5 Jul 2012 20:00:52 +0000
(22:00 +0200)
source3/smbd/statvfs.c
patch
|
blob
|
history
diff --git
a/source3/smbd/statvfs.c
b/source3/smbd/statvfs.c
index 85a83c2df86ab820630357f1c43dea33e88534cf..94ec2d5146de4f5053493518e0c4e5e4b8f95da6 100644
(file)
--- a/
source3/smbd/statvfs.c
+++ b/
source3/smbd/statvfs.c
@@
-104,12
+104,12
@@
static int bsd_statvfs(const char *path, vfs_statvfs_struct *statbuf)
#ifdef MNT_ACLS
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;