summaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-12-03 14:30:40 +0100
committerDavid Sterba <dsterba@suse.com>2015-12-03 14:30:40 +0100
commitff13db41f184f8222aca0cb653347ccdd48a057a (patch)
tree779a0a54ab4b5ca2b9382546a9dd27d675df8041 /fs/btrfs/disk-io.c
parente83b1d91f872a4cf7bf0d3528044fc9e43260e2b (diff)
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/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 974be09e7556..68ceed712df2 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -362,7 +362,7 @@ static int verify_parent_transid(struct extent_io_tree *io_tree,
}
lock_extent_bits(io_tree, eb->start, eb->start + eb->len - 1,
- 0, &cached_state);
+ &cached_state);
if (extent_buffer_uptodate(eb) &&
btrfs_header_generation(eb) == parent_transid) {
ret = 0;