]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Make btrfs_pin_reserved_extent take transaction handle
authorNikolay Borisov <nborisov@suse.com>
Mon, 20 Jan 2020 14:09:12 +0000 (16:09 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Mar 2020 16:01:37 +0000 (17:01 +0100)
commit2069a92cac6fa3d295a18cc9d428980bd245d4e8
treee74f1730ee190553c4ca73223494cb3073ca0fb0
parente0461bbbf1bc285a33be2f15efe7635e172c7c02
btrfs: Make btrfs_pin_reserved_extent take transaction handle

btrfs_pin_reserved_extent is now only called with a valid transaction so
exploit the fact to take a transaction. This is preparation for tracking
pinned extents on a per-transaction basis.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
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/ctree.h
fs/btrfs/extent-tree.c
fs/btrfs/tree-log.c