diff options
author | Nikolay Borisov <n.borisov.lkml@gmail.com> | 2017-02-20 13:50:49 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 11:30:08 +0100 |
commit | a776c6fa1feba7a84519170ebdb7f4a4155b89d6 (patch) | |
tree | f569f58177fb4c9e8e282e035c7ad8d86492c1d2 /fs/btrfs/scrub.c | |
parent | 7a6d7067958c32d1c76e0bfd1a0d46be06340b2e (diff) | |
download | linux-a776c6fa1feba7a84519170ebdb7f4a4155b89d6.tar.bz2 |
btrfs: Make btrfs_lookup_ordered_range take btrfs_inode
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/scrub.c')
-rw-r--r-- | fs/btrfs/scrub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c index ff9a11c39f5e..82d873406aa3 100644 --- a/fs/btrfs/scrub.c +++ b/fs/btrfs/scrub.c @@ -4249,7 +4249,7 @@ static int check_extent_to_block(struct inode *inode, u64 start, u64 len, io_tree = &BTRFS_I(inode)->io_tree; lock_extent_bits(io_tree, lockstart, lockend, &cached_state); - ordered = btrfs_lookup_ordered_range(inode, lockstart, len); + ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart, len); if (ordered) { btrfs_put_ordered_extent(ordered); ret = 1; |