btrfs: root->fs_info cleanup, access fs_info->delayed_root directly
This results in btrfs_assert_delayed_root_empty and btrfs_destroy_delayed_inode taking an fs_info instead of a root. Signed-off-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:

committed by
David Sterba

parent
0b246afa62
commit
ccdf9b305a
@@ -2133,7 +2133,7 @@ int btrfs_commit_transaction(struct btrfs_trans_handle *trans,
|
||||
* make sure none of the code above managed to slip in a
|
||||
* delayed item
|
||||
*/
|
||||
btrfs_assert_delayed_root_empty(root);
|
||||
btrfs_assert_delayed_root_empty(fs_info);
|
||||
|
||||
WARN_ON(cur_trans != trans->transaction);
|
||||
|
||||
|
Reference in New Issue
Block a user