]> Git Repo - linux.git/commit - fs/cifs/inode.c
cifs: map NT_STATUS_SHARING_VIOLATION to EBUSY instead of ETXTBSY
authorSachin Prabhu <[email protected]>
Mon, 11 Mar 2013 13:08:49 +0000 (13:08 +0000)
committerSteve French <[email protected]>
Wed, 13 Mar 2013 19:09:20 +0000 (14:09 -0500)
commit47c78f4a70d791ff44cab3254b489605a52e3181
treec3923432f02c31fb2625e8fae7572839e6f8bbf7
parent6c23cbbd5056b155401b0a2b5567d530e6c750c4
cifs: map NT_STATUS_SHARING_VIOLATION to EBUSY instead of ETXTBSY

NT_SHARING_VIOLATION errors are mapped to ETXTBSY which is unexpected
for operations such as unlink where we can hit these errors.

The patch maps the error NT_SHARING_VIOLATION to EBUSY instead. The
patch also replaces all instances of ETXTBSY in
cifs_rename_pending_delete() with EBUSY.

Signed-off-by: Sachin Prabhu <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Steve French <[email protected]>
fs/cifs/inode.c
fs/cifs/netmisc.c
This page took 0.054447 seconds and 4 git commands to generate.