diff options
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r-- | source3/smbd/filename.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index b69d2f3e5e..eb86a0efd1 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -462,6 +462,12 @@ NTSTATUS unix_convert(connection_struct *conn, } } /* end else */ +#ifdef DEVELOPER + if (VALID_STAT(st) && get_delete_on_close_flag(st.st_dev, st.st_ino)) { + return NT_STATUS_DELETE_PENDING; + } +#endif + /* * Add to the dirpath that we have resolved so far. */ |