btrfs: Initialize inode::i_mapping once in btrfs_symlink
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Mon, 25 Feb 2019 19:07:43 +0000 (13:07 -0600)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:17 +0000 (19:02 +0200)
commit8de60fe94292c8cdac431537ba315e15cdcafd00
treee52c0b43276fa8b87d79bb3cd7102468dce97011
parent7ac1e464c4d473b517bb784f30d40da1f842482e
btrfs: Initialize inode::i_mapping once in btrfs_symlink

inode->i_op is initialized multiple times. Perform it once. This was
left by 4779cc04248d ("Btrfs: get rid of btrfs_symlink_aops").

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c