Commit 81c5a684 authored by Al Viro's avatar Al Viro

cifs: ->rename() without ->lookup() makes no sense

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 627bf81a
...@@ -849,7 +849,6 @@ const struct inode_operations cifs_file_inode_ops = { ...@@ -849,7 +849,6 @@ const struct inode_operations cifs_file_inode_ops = {
/* revalidate:cifs_revalidate, */ /* revalidate:cifs_revalidate, */
.setattr = cifs_setattr, .setattr = cifs_setattr,
.getattr = cifs_getattr, /* do we need this anymore? */ .getattr = cifs_getattr, /* do we need this anymore? */
.rename = cifs_rename,
.permission = cifs_permission, .permission = cifs_permission,
#ifdef CONFIG_CIFS_XATTR #ifdef CONFIG_CIFS_XATTR
.setxattr = cifs_setxattr, .setxattr = cifs_setxattr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment