From: Sachin Prabhu Date: Mon, 11 Mar 2013 13:08:49 +0000 (+0000) Subject: cifs: map NT_STATUS_SHARING_VIOLATION to EBUSY instead of ETXTBSY X-Git-Tag: v3.9-rc4~15^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47c78f4a70d791ff44cab3254b489605a52e3181;p=pandora-kernel.git 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 Reviewed-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed