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)
commitf41b6ba93d8ef990c4acc70987bbc138c1926ebb
tree64fc979924c31933b3857b7633ca8421b603f270
parent25c1252a026c6c34ff99c86f31856701b2192c0e
btrfs: remove uptodate parameter from btrfs_dec_test_first_ordered_pending

In commit e65f152e4348 ("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