git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8804f5b
)
Fix typo in filesystem capabilities bits.
author
James Peach
<jpeach@apple.com>
Thu, 20 Dec 2007 16:31:27 +0000
(08:31 -0800)
committer
James Peach
<jpeach@apple.com>
Thu, 20 Dec 2007 16:31:27 +0000
(08:31 -0800)
(This used to be commit
08fee0d28a20648d74c6b03d120eaf628f4de70c
)
source3/smbd/statvfs.c
patch
|
blob
|
history
diff --git
a/source3/smbd/statvfs.c
b/source3/smbd/statvfs.c
index 431489032c4d2675929958c26e1df6601b47daf1..0e9a2c2ebe0b316ad979a9a5a8317a06ce508694 100644
(file)
--- 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;
}