summaryrefslogtreecommitdiff
path: root/source3/smbd/statvfs.c
diff options
context:
space:
mode:
authorJames Peach <jpeach@apple.com>2007-12-20 08:31:27 -0800
committerJames Peach <jpeach@apple.com>2007-12-20 08:31:27 -0800
commit4c3c483fbfd870335f77ab610eb7230639d3d258 (patch)
tree1a1e284e060fc6fa1ced39d3439d416483c5c3a8 /source3/smbd/statvfs.c
parent8804f5bdd7cbc0bc8166c7a4a9a09fbcb4402afd (diff)
downloadsamba-4c3c483fbfd870335f77ab610eb7230639d3d258.tar.gz
samba-4c3c483fbfd870335f77ab610eb7230639d3d258.tar.bz2
samba-4c3c483fbfd870335f77ab610eb7230639d3d258.zip
Fix typo in filesystem capabilities bits.
(This used to be commit 08fee0d28a20648d74c6b03d120eaf628f4de70c)
Diffstat (limited to 'source3/smbd/statvfs.c')
-rw-r--r--source3/smbd/statvfs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/statvfs.c b/source3/smbd/statvfs.c
index 431489032c..0e9a2c2ebe 100644
--- a/source3/smbd/statvfs.c
+++ b/source3/smbd/statvfs.c
@@ -39,13 +39,11 @@ static int linux_statvfs(const char *path, vfs_statvfs_struct *statbuf)
statbuf->FreeFileNodes = statvfs_buf.f_ffree;
statbuf->FsIdentifier = statvfs_buf.f_fsid;
-#if defined(FILE_CASE_SENSITIVE_SEARCH) && defined(FILE_CASE_PRESERVING_NAMES)
/* Good defaults for Linux filesystems are case sensitive
* and case preserving.
*/
statbuf->FsCapabilities =
- FILE_CASE_SENSITIVE_SEARCH | FILE_CASE_PRESERVING_NAMES;
-#endif
+ FILE_CASE_SENSITIVE_SEARCH | FILE_CASE_PRESERVED_NAMES;
}
return result;
}