]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Remove fs_info argument from create_pending_snapshots/create_pending_snapshot
authorNikolay Borisov <nborisov@suse.com>
Wed, 7 Feb 2018 15:55:48 +0000 (17:55 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Mar 2018 13:09:32 +0000 (15:09 +0200)
commit1b6ffba8c36a745a1227c283e396381555b07e77
tree6bb55ac6823c2423e668fd51762e63f1f531df82
parent654d73a9b749af6582c98b2f5a0908b7479aeebc
btrfs: Remove fs_info argument from create_pending_snapshots/create_pending_snapshot

We already pass the trans handle which has a reference to fs_info to
create_pending_snapshot so we can refer to it directly. Doing this
obviates the need to pass the fs_info to create_pending_snapshots as
well. No functional changes.

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