]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: get rid of btrfs_symlink_aops
authorOmar Sandoval <osandov@fb.com>
Mon, 24 Sep 2018 22:16:55 +0000 (15:16 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 15 Oct 2018 15:23:35 +0000 (17:23 +0200)
commitf0518abcf3f07d4ed23f57c04c16e3de578f5adf
tree743d3a6294bdeade18da552b8343051976ac5777
parent352630198226d81834252f99e34441a995dac2c6
Btrfs: get rid of btrfs_symlink_aops

The only aops we define for symlinks are identical to the aops for
regular files. This has been the case since symlink support was added in
commit 2b8d99a723a3 ("Btrfs: symlinks and hard links"). As far as I can
tell, there wasn't a good reason to have separate aops then, and there
isn't now, so let's just do what most other filesystems do and reuse the
same structure.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c