diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-10-26 00:59:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:04:43 -0500 |
commit | d5fd12648e004b47bbe5ed2623838866fedcbeb0 (patch) | |
tree | 837c57d7a2da2d3b61684c562541971721fb6e8a /source4/ntvfs/posix/vfs_posix.c | |
parent | bf3f9757e58625decd78d0b1d761e35593f2922a (diff) | |
download | samba-d5fd12648e004b47bbe5ed2623838866fedcbeb0.tar.gz samba-d5fd12648e004b47bbe5ed2623838866fedcbeb0.tar.bz2 samba-d5fd12648e004b47bbe5ed2623838866fedcbeb0.zip |
r3227: added a per-share option "case insensitive filesystem", that tells the
backend that the underlying filesystem is case insensitive, so it can
bypass the directory search if the name is not found.
(This used to be commit d84ade90ce7e03ec749d6ae8dcdcb41de85d836e)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.c')
-rw-r--r-- | source4/ntvfs/posix/vfs_posix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c index 64f0e09f59..cd41bf2329 100644 --- a/source4/ntvfs/posix/vfs_posix.c +++ b/source4/ntvfs/posix/vfs_posix.c @@ -41,6 +41,7 @@ static void pvfs_setup_options(struct pvfs_state *pvfs) if (lp_readonly(snum)) pvfs->flags |= PVFS_FLAG_READONLY; if (lp_strict_sync(snum)) pvfs->flags |= PVFS_FLAG_STRICT_SYNC; if (lp_strict_locking(snum)) pvfs->flags |= PVFS_FLAG_STRICT_LOCKING; + if (lp_ci_filesystem(snum)) pvfs->flags |= PVFS_FLAG_CI_FILESYSTEM; pvfs->share_name = talloc_strdup(pvfs, lp_servicename(snum)); } |