cifs: eliminate redundant xdev check in cifs_rename
authorJeff Layton <jlayton@redhat.com>
Fri, 3 Sep 2010 15:50:09 +0000 (11:50 -0400)
committerSteve French <sfrench@us.ibm.com>
Wed, 8 Sep 2010 21:13:16 +0000 (21:13 +0000)
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>

No differences found