summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-12-10 03:17:19 +0100
committerVolker Lendecke <vl@samba.org>2008-12-10 18:05:26 +0100
commit21b9dec990b08a104600bf8e408e64e805a02835 (patch)
tree949c1aca56818a2a982428109345084100abf7a8 /source3/smbd
parent31543640e6227e8dc808e365ba0bf6d2d5b08727 (diff)
downloadsamba-21b9dec990b08a104600bf8e408e64e805a02835.tar.gz
samba-21b9dec990b08a104600bf8e408e64e805a02835.tar.bz2
samba-21b9dec990b08a104600bf8e408e64e805a02835.zip
Pass the get_real_filename operation through the VFS
This is done to help file systems that can tell us about the real upper/lower case combination given a case-insensitive file name. The sample I will soon push is the gpfs module (recent gpfs has a get_real_filename function), others might have a similar function to help alleviate the 1million files in a single directory problem. Jeremy, please comment! Thanks, Volker
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/filename.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index c803e40649..d240ecfa64 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -26,9 +26,6 @@
#include "includes.h"
-static int get_real_filename(connection_struct *conn, const char *path,
- const char *name, TALLOC_CTX *mem_ctx,
- char **found_name);
static NTSTATUS build_stream_path(TALLOC_CTX *mem_ctx,
connection_struct *conn,
const char *orig_path,
@@ -434,7 +431,7 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx,
*/
if (name_has_wildcard ||
- (get_real_filename(
+ (SMB_VFS_GET_REAL_FILENAME(
conn, dirpath, start,
talloc_tos(), &found_name) == -1)) {
char *unmangled;