summaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-02-01 08:26:29 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-04-01 23:19:17 -0400
commit81c5a68478be38816bb5110ae0a5de1320cd2dfd (patch)
treebdf8c477a430ed0d1d2131922a8ee93fd3059c29 /fs/cifs
parent627bf81ac625f05060db033a0f3791521ad7bd79 (diff)
downloadop-kernel-dev-81c5a68478be38816bb5110ae0a5de1320cd2dfd.zip
op-kernel-dev-81c5a68478be38816bb5110ae0a5de1320cd2dfd.tar.gz
cifs: ->rename() without ->lookup() makes no sense
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs')
-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 849f613..f31f9d6 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,
OpenPOWER on IntegriCloud