]> Git Repo - linux.git/commit - fs/cifs/inode.c
cifs: eliminate redundant xdev check in cifs_rename
authorJeff Layton <[email protected]>
Fri, 3 Sep 2010 15:50:09 +0000 (11:50 -0400)
committerSteve French <[email protected]>
Wed, 8 Sep 2010 21:13:16 +0000 (21:13 +0000)
commit639e7a913d81f918bfbf506e6ecd54664f787cbd
tree2b786056d9c5db228b8d0a75943ff8a2bdb3b01a
parentc8e56f1f4fb9f82f63e4ce6d73a14501d0432c76
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 <[email protected]>
Signed-off-by: Steve French <[email protected]>
fs/cifs/inode.c
This page took 0.053646 seconds and 4 git commands to generate.