diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-08-02 08:53:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:29:08 -0500 |
commit | 4b15f31f106f1dd69fdda721b5c3b787f5245a80 (patch) | |
tree | 34e14d007c0dc257723fff1379cb0968bfb6f410 /source3/smbd/filename.c | |
parent | a0a9a301d258ffdd6e1f35a9d4d32c555237556c (diff) | |
download | samba-4b15f31f106f1dd69fdda721b5c3b787f5245a80.tar.gz samba-4b15f31f106f1dd69fdda721b5c3b787f5245a80.tar.bz2 samba-4b15f31f106f1dd69fdda721b5c3b787f5245a80.zip |
r24120: add a file_id_create() hook into the VFS layer
it's needed for some cluster filesystems to
overload this function.
metze
(This used to be commit cdaa24e8047399002e4b287a31a8340a665e580f)
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r-- | source3/smbd/filename.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index a1b56736a0..d5c22e81c3 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -540,7 +540,8 @@ NTSTATUS unix_convert(connection_struct *conn, } /* end else */ #ifdef DEVELOPER - if (VALID_STAT(st) && get_delete_on_close_flag(file_id_sbuf(&st))) { + if (VALID_STAT(st) && + get_delete_on_close_flag(vfs_file_id_from_sbuf(conn, &st))) { result = NT_STATUS_DELETE_PENDING; goto fail; } |