]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
btrfs: unexport btrfs_extent_readonly() and make it static
authorAnand Jain <anand.jain@oracle.com>
Thu, 11 Feb 2021 05:25:15 +0000 (21:25 -0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Apr 2021 15:25:14 +0000 (17:25 +0200)
commit05947ae18692736c665be4dfa5bb39a54c6b98ae
treedc2997bde8aeef74e9445fb4260331d9955f51c1
parentb6e9f16c5fda08e4af8c675b71be580dac3286d6
btrfs: unexport btrfs_extent_readonly() and make it static

btrfs_extent_readonly() is used by can_nocow_extent() in inode.c. So
move it from extent-tree.c to inode.c and declare it as static.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/inode.c