diff options
author | Jeff Mahoney | 2016-06-22 18:54:23 -0400 |
---|---|---|
committer | David Sterba | 2016-12-06 16:06:59 +0100 |
commit | ccdf9b305a49875d49dbaec6f8d2440abb0b1994 (patch) | |
tree | 0b1ac124531f45ba7e7997bc89572165cb774a43 /fs/btrfs/transaction.c | |
parent | 0b246afa62b0cf5b09d078121f543135f28492ad (diff) |
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>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 7fa8a6a9d07e..56eeecf4ecde 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c @@ -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); |