From: Jeff Layton Date: Fri, 3 Sep 2010 15:50:09 +0000 (-0400) Subject: cifs: eliminate redundant xdev check in cifs_rename X-Git-Tag: v2.6.36-rc5~41^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=639e7a913d81f918bfbf506e6ecd54664f787cbd;p=pandora-kernel.git 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 Signed-off-by: Steve French --- Reading git-diff-tree failed