diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-12-09 18:45:04 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-12-09 18:45:04 +0300 |
commit | dfeef68862edd7d4bafe68ef7aeb5f658ef24bb5 (patch) | |
tree | 8badba5ffc5fe9b6d0fdf2c74c4d752da200cad0 /mm/shmem.c | |
parent | 76fca90e9f3abc82114d9d02d8e14e0324a18ca2 (diff) | |
download | linux-dfeef68862edd7d4bafe68ef7aeb5f658ef24bb5.tar.xz |
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 'mm/shmem.c')
-rw-r--r-- | mm/shmem.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 166ebf5d2bce..aa47e6baecde 100644 --- a/mm/shmem.c +++ b/mm/shmem.c @@ -3174,7 +3174,6 @@ static ssize_t shmem_listxattr(struct dentry *dentry, char *buffer, size_t size) #endif /* CONFIG_TMPFS_XATTR */ static const struct inode_operations shmem_short_symlink_operations = { - .readlink = generic_readlink, .get_link = simple_get_link, #ifdef CONFIG_TMPFS_XATTR .listxattr = shmem_listxattr, @@ -3182,7 +3181,6 @@ static const struct inode_operations shmem_short_symlink_operations = { }; static const struct inode_operations shmem_symlink_inode_operations = { - .readlink = generic_readlink, .get_link = shmem_get_link, #ifdef CONFIG_TMPFS_XATTR .listxattr = shmem_listxattr, |