diff options
author | Sachin Prabhu <sprabhu@redhat.com> | 2013-03-11 13:08:49 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2013-03-13 14:09:20 -0500 |
commit | 47c78f4a70d791ff44cab3254b489605a52e3181 (patch) | |
tree | c3923432f02c31fb2625e8fae7572839e6f8bbf7 /fs/mount.h | |
parent | 6c23cbbd5056b155401b0a2b5567d530e6c750c4 (diff) | |
download | linux-47c78f4a70d791ff44cab3254b489605a52e3181.tar.bz2 |
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 <sprabhu@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/mount.h')
0 files changed, 0 insertions, 0 deletions