summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;