diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-12-09 10:45:04 -0500 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-12-09 10:45:04 -0500 |
commit | dfeef68862edd7d4bafe68ef7aeb5f658ef24bb5 (patch) | |
tree | 8badba5ffc5fe9b6d0fdf2c74c4d752da200cad0 /fs/9p | |
parent | 76fca90e9f3abc82114d9d02d8e14e0324a18ca2 (diff) |
vfs: remove ".readlink = generic_readlink" assignments
If .readlink == NULL implies generic_readlink().
Generated by:
to_del="\.readlink.*=.*generic_readlink"
for i in `git grep -l $to_del`; do sed -i "/$to_del"/d $i; done
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/9p')
-rw-r--r-- | fs/9p/vfs_inode.c | 1 | ||||
-rw-r--r-- | fs/9p/vfs_inode_dotl.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index 30ca770c5e0b..f4f4450119e4 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c | |||
@@ -1464,7 +1464,6 @@ static const struct inode_operations v9fs_file_inode_operations = { | |||
1464 | }; | 1464 | }; |
1465 | 1465 | ||
1466 | static const struct inode_operations v9fs_symlink_inode_operations = { | 1466 | static const struct inode_operations v9fs_symlink_inode_operations = { |
1467 | .readlink = generic_readlink, | ||
1468 | .get_link = v9fs_vfs_get_link, | 1467 | .get_link = v9fs_vfs_get_link, |
1469 | .getattr = v9fs_vfs_getattr, | 1468 | .getattr = v9fs_vfs_getattr, |
1470 | .setattr = v9fs_vfs_setattr, | 1469 | .setattr = v9fs_vfs_setattr, |
diff --git a/fs/9p/vfs_inode_dotl.c b/fs/9p/vfs_inode_dotl.c index afaa4b6de801..5999bd050678 100644 --- a/fs/9p/vfs_inode_dotl.c +++ b/fs/9p/vfs_inode_dotl.c | |||
@@ -979,7 +979,6 @@ const struct inode_operations v9fs_file_inode_operations_dotl = { | |||
979 | }; | 979 | }; |
980 | 980 | ||
981 | const struct inode_operations v9fs_symlink_inode_operations_dotl = { | 981 | const struct inode_operations v9fs_symlink_inode_operations_dotl = { |
982 | .readlink = generic_readlink, | ||
983 | .get_link = v9fs_vfs_get_link_dotl, | 982 | .get_link = v9fs_vfs_get_link_dotl, |
984 | .getattr = v9fs_vfs_getattr_dotl, | 983 | .getattr = v9fs_vfs_getattr_dotl, |
985 | .setattr = v9fs_vfs_setattr_dotl, | 984 | .setattr = v9fs_vfs_setattr_dotl, |