From e8484e01ed6c3893f89abeec5f7a2d214d77c576 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 2 Mar 2009 14:56:01 +0100 Subject: Make use of gpfs_get_real_filename optional --- source3/modules/vfs_gpfs.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/modules/vfs_gpfs.c') diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 1d7cdba014..3c061ece79 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -96,6 +96,11 @@ static int vfs_gpfs_get_real_filename(struct vfs_handle_struct *handle, TALLOC_FREE(full_path); + if ((result == -1) && (errno == ENOSYS)) { + return SMB_VFS_NEXT_GET_REAL_FILENAME( + handle, path, name, mem_ctx, found_name); + } + if (result == -1) { DEBUG(10, ("smbd_gpfs_get_realfilename_path returned %s\n", strerror(errno))); -- cgit