diff options
author | David Sterba <dsterba@suse.com> | 2017-06-29 18:37:49 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-08-16 16:12:03 +0200 |
commit | a4f78750ef1882e59bb4f947e216cf61ef2d67d2 (patch) | |
tree | d262fb16360373142ec08715a7b76118e6fcd26c /fs/btrfs/disk-io.c | |
parent | f1b8a1e8c00a12000e5683f7312f2b1d877717ae (diff) | |
download | lwn-a4f78750ef1882e59bb4f947e216cf61ef2d67d2.tar.gz lwn-a4f78750ef1882e59bb4f947e216cf61ef2d67d2.zip |
btrfs: get fs_info from eb in btrfs_print_leaf, remove argument
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 2f366044d891..a42ae7676759 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -3984,7 +3984,7 @@ void btrfs_mark_buffer_dirty(struct extent_buffer *buf) fs_info->dirty_metadata_batch); #ifdef CONFIG_BTRFS_FS_CHECK_INTEGRITY if (btrfs_header_level(buf) == 0 && check_leaf(root, buf)) { - btrfs_print_leaf(fs_info, buf); + btrfs_print_leaf(buf); ASSERT(0); } #endif |