r24120: add a file_id_create() hook into the VFS layer
[samba.git] / source / smbd / close.c
index 7c3e1eef2830cb17ff398b2913d058c359bbc619..9718fef4ea2052171c210ccd0d147e7628478b6e 100644 (file)
@@ -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 "