summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-02-01 14:26:29 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2014-04-02 05:19:17 +0200
commit81c5a68478be38816bb5110ae0a5de1320cd2dfd (patch)
treebdf8c477a430ed0d1d2131922a8ee93fd3059c29 /fs
parentget rid of pointless checks for NULL ->i_op (diff)
downloadlinux-81c5a68478be38816bb5110ae0a5de1320cd2dfd.tar.xz
linux-81c5a68478be38816bb5110ae0a5de1320cd2dfd.zip
cifs: ->rename() without ->lookup() makes no sense
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/cifsfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 849f6132b327..f31f9d6913b2 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -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,