From: Goldwyn Rodrigues <rgold...@suse.com> inode->i_op is initialized multiple times. Perform it once.
Signed-off-by: Goldwyn Rodrigues <rgold...@suse.com> --- fs/btrfs/inode.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 5c349667c761..9b77fe994cbb 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -10140,7 +10140,6 @@ static int btrfs_symlink(struct inode *dir, struct dentry *dentry, inode->i_op = &btrfs_symlink_inode_operations; inode_nohighmem(inode); - inode->i_mapping->a_ops = &btrfs_aops; inode_set_bytes(inode, name_len); btrfs_i_size_write(BTRFS_I(inode), name_len); err = btrfs_update_inode(trans, root, inode); -- 2.16.4