Hi, I'm looking at the reply_unlink code and I wonder how it is supposed to work at all. unlink_internals call can_delete and does then call SMB_VFS_UNLINK with no lock or share on the file. Why not simply call open_file_shared1 with delete on close and let close do it?