CIFS: Remove some obsolete comments
authorSteve French <smfrench@gmail.com>
Thu, 19 May 2016 01:48:32 +0000 (20:48 -0500)
committerSteve French <smfrench@gmail.com>
Fri, 20 May 2016 02:56:34 +0000 (21:56 -0500)
Remove some obsolete comments in the cifs inode_operations
structs that were pointed out by Stephen Rothwell.

CC: Stephen Rothwell <sfr@canb.auug.org.au>
CC: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Sachin Prabhu <sprabhu@redhat.com>
Signed-off-by: Steve French <steve.french@primarydata.com>
fs/cifs/cifsfs.c

index 67f622df08589ec759f05724316d8b2fc51d7f64..5d8b7edf8a8f69009114e56e28c530fb4e7e686f 100644 (file)
@@ -890,7 +890,6 @@ const struct inode_operations cifs_dir_inode_ops = {
        .rmdir = cifs_rmdir,
        .rename2 = cifs_rename2,
        .permission = cifs_permission,
-/*     revalidate:cifs_revalidate,   */
        .setattr = cifs_setattr,
        .symlink = cifs_symlink,
        .mknod   = cifs_mknod,
@@ -901,9 +900,8 @@ const struct inode_operations cifs_dir_inode_ops = {
 };
 
 const struct inode_operations cifs_file_inode_ops = {
-/*     revalidate:cifs_revalidate, */
        .setattr = cifs_setattr,
-       .getattr = cifs_getattr, /* do we need this anymore? */
+       .getattr = cifs_getattr,
        .permission = cifs_permission,
        .setxattr = generic_setxattr,
        .getxattr = generic_getxattr,
@@ -915,9 +913,6 @@ const struct inode_operations cifs_symlink_inode_ops = {
        .readlink = generic_readlink,
        .get_link = cifs_get_link,
        .permission = cifs_permission,
-       /* BB add the following two eventually */
-       /* revalidate: cifs_revalidate,
-          setattr:    cifs_notify_change, *//* BB do we need notify change */
        .setxattr = generic_setxattr,
        .getxattr = generic_getxattr,
        .listxattr = cifs_listxattr,