diff options
author | David Sterba <dsterba@suse.com> | 2015-12-03 14:30:40 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-12-03 14:30:40 +0100 |
commit | ff13db41f184f8222aca0cb653347ccdd48a057a (patch) | |
tree | 779a0a54ab4b5ca2b9382546a9dd27d675df8041 /fs/btrfs/scrub.c | |
parent | e83b1d91f872a4cf7bf0d3528044fc9e43260e2b (diff) | |
download | op-kernel-dev-ff13db41f184f8222aca0cb653347ccdd48a057a.zip op-kernel-dev-ff13db41f184f8222aca0cb653347ccdd48a057a.tar.gz |
btrfs: drop unused parameter from lock_extent_bits
We've always passed 0. Stack usage will slightly decrease.
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 2907a77..23f396a 100644 --- a/fs/btrfs/scrub.c +++ b/fs/btrfs/scrub.c @@ -4161,7 +4161,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, 0, &cached_state); + lock_extent_bits(io_tree, lockstart, lockend, &cached_state); ordered = btrfs_lookup_ordered_range(inode, lockstart, len); if (ordered) { btrfs_put_ordered_extent(ordered); |