cifs: ->rename() without ->lookup() makes no sense
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 1 Feb 2014 13:26:29 +0000 (08:26 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 Apr 2014 03:19:17 +0000 (23:19 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/cifs/cifsfs.c

index 849f6132b327e5e79e35bd4a178784eea001b267..f31f9d6913b2b0ca42d7a18d5e99a9dd6dd1e333 100644 (file)
@@ -849,7 +849,6 @@ const struct inode_operations cifs_file_inode_ops = {
 /*     revalidate:cifs_revalidate, */
        .setattr = cifs_setattr,
        .getattr = cifs_getattr, /* do we need this anymore? */
-       .rename = cifs_rename,
        .permission = cifs_permission,
 #ifdef CONFIG_CIFS_XATTR
        .setxattr = cifs_setxattr,