r24120: add a file_id_create() hook into the VFS layer
[samba.git] / source / printing / printfsp.c
index 821f46041d25483d88e1b752d8a4354c9fb04f35..ab628e29fc8819e17119eadd2e7929e49ed9905c 100644 (file)
@@ -86,7 +86,7 @@ NTSTATUS print_fsp_open(connection_struct *conn, const char *fname,
        fsp->wcp = NULL; 
        SMB_VFS_FSTAT(fsp,fsp->fh->fd, &sbuf);
        fsp->mode = sbuf.st_mode;
-       fsp->file_id = file_id_sbuf(&sbuf);
+       fsp->file_id = vfs_file_id_from_sbuf(conn, &sbuf);
 
        conn->num_files_open++;