summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-cache.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/free-space-cache.c
parente83b1d91f872a4cf7bf0d3528044fc9e43260e2b (diff)
downloadlinux-ff13db41f184f8222aca0cb653347ccdd48a057a.tar.bz2
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/free-space-cache.c')
-rw-r--r--fs/btrfs/free-space-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index 85a1f8621b51..b68837809f1e 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -1261,7 +1261,7 @@ static int __btrfs_write_out_cache(struct btrfs_root *root, struct inode *inode,
goto out;
lock_extent_bits(&BTRFS_I(inode)->io_tree, 0, i_size_read(inode) - 1,
- 0, &cached_state);
+ &cached_state);
io_ctl_set_generation(io_ctl, trans->transid);