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)
commit08d50ca32cd0554699b7680fbda97c94f49c73f2
tree6bb55ac6823c2423e668fd51762e63f1f531df82
parent16916a88d43c5f82c20a810e54d1a7f0d3d3a9ca
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