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/configfs/symlink.c | |
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/configfs/symlink.c')
-rw-r--r-- | fs/configfs/symlink.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/configfs/symlink.c b/fs/configfs/symlink.c index db6d69289608..a6ab012a2c6a 100644 --- a/fs/configfs/symlink.c +++ b/fs/configfs/symlink.c | |||
@@ -305,7 +305,6 @@ static const char *configfs_get_link(struct dentry *dentry, | |||
305 | 305 | ||
306 | const struct inode_operations configfs_symlink_inode_operations = { | 306 | const struct inode_operations configfs_symlink_inode_operations = { |
307 | .get_link = configfs_get_link, | 307 | .get_link = configfs_get_link, |
308 | .readlink = generic_readlink, | ||
309 | .setattr = configfs_setattr, | 308 | .setattr = configfs_setattr, |
310 | }; | 309 | }; |
311 | 310 | ||