]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove uptodate parameter from btrfs_dec_test_first_ordered_pending
authorDavid Sterba <dsterba@suse.com>
Mon, 26 Jul 2021 12:15:10 +0000 (14:15 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Aug 2021 11:19:02 +0000 (13:19 +0200)
commitd861794d4d43db21d06c9c6b5b7631d986fbb54c
tree64fc979924c31933b3857b7633ca8421b603f270
parent3e56e66573c02e4f64ba5dc5f3211ce03a5b9b8c
btrfs: remove uptodate parameter from btrfs_dec_test_first_ordered_pending

In commit 7b29bb91d830 ("btrfs: refactor how we finish ordered extent io
for endio functions") there was last caller not using 1 for the uptodate
parameter. Now there's only one, passing 1, so we can remove it and
simplify the code.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c
fs/btrfs/ordered-data.c
fs/btrfs/ordered-data.h