summaryrefslogtreecommitdiff
path: root/fs/cifs/dir.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-09-03 19:50:09 +0400
committerSteve French <sfrench@us.ibm.com>2010-09-09 01:13:16 +0400
commit639e7a913d81f918bfbf506e6ecd54664f787cbd (patch)
tree2b786056d9c5db228b8d0a75943ff8a2bdb3b01a /fs/cifs/dir.c
parentc8e56f1f4fb9f82f63e4ce6d73a14501d0432c76 (diff)
downloadlinux-639e7a913d81f918bfbf506e6ecd54664f787cbd.tar.xz
cifs: eliminate redundant xdev check in cifs_rename
The VFS always checks that the source and target of a rename are on the same vfsmount, and hence have the same superblock. So, this check is redundant. Remove it and simplify the error handling. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/dir.c')
0 files changed, 0 insertions, 0 deletions