summaryrefslogtreecommitdiff
path: root/source/smbd/close.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-02 08:53:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:08 -0500
commitcdaa24e8047399002e4b287a31a8340a665e580f (patch)
tree71fb49386d4e49d0fe265a9d017b328ff4d56969 /source/smbd/close.c
parentd4d550aa2ba20d704d2ab1265732b03405e8819c (diff)
downloadsamba-cdaa24e8047399002e4b287a31a8340a665e580f.tar.gz
r24120: add a file_id_create() hook into the VFS layer
it's needed for some cluster filesystems to overload this function. metze
Diffstat (limited to 'source/smbd/close.c')
-rw-r--r--source/smbd/close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/close.c b/source/smbd/close.c
index 7c3e1eef283..9718fef4ea2 100644
--- a/source/smbd/close.c
+++ b/source/smbd/close.c
@@ -265,7 +265,7 @@ static NTSTATUS close_remove_share_mode(files_struct *fsp,
goto done;
}
- id = file_id_sbuf(&sbuf);
+ id = vfs_file_id_from_sbuf(conn, &sbuf);
if (!file_id_equal(&fsp->file_id, &id)) {
DEBUG(5,("close_remove_share_mode: file %s. Delete on close "