]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: make prealloc_file_extent_cluster take btrfs_inode
authorNikolay Borisov <nborisov@suse.com>
Wed, 3 Jun 2020 05:55:44 +0000 (08:55 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 27 Jul 2020 10:55:37 +0000 (12:55 +0200)
commit360b1e3fdae84e065a1db7e23b17a1399e7edeb7
tree7131904feb439983176224c98531f4b0349d9d26
parent54c74e51c090419f43237f83a6950fbf70435927
btrfs: make prealloc_file_extent_cluster take btrfs_inode

The vfs inode is only used for a pair of inode_lock/unlock calls all
other uses call for btrfs_inode.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/relocation.c