pvfs: handle SHARING_VIOLATION and OPLOCK_NOT_GRANTED in pvfs_can_delete/rename()
authorStefan Metzmacher <metze@samba.org>
Thu, 21 Feb 2008 19:01:25 +0000 (20:01 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 25 Feb 2008 06:56:18 +0000 (07:56 +0100)
commitdaab9cb11eb540fae7ec3c024a586f5fd02cfc71
tree67592aa5cc65d31f3ef50dde7e352c32db6ad564
parente585e2306334bd919f567f53d8d08903dfdfb102
pvfs: handle SHARING_VIOLATION and OPLOCK_NOT_GRANTED in pvfs_can_delete/rename()

If the caller asks for the odb_lock return it
also if we return NT_STATUS_SHARING_VIOLATION
or NT_STATUS_OPLOCK_NOT_GRANTED so that the caller
can add the pending notification.

metze
source/ntvfs/posix/pvfs_open.c