Skip to content
Commit 8264c321 authored by Rakesh Pandit's avatar Rakesh Pandit Committed by Jens Axboe
Browse files

writeback: merge try_to_writeback_inodes_sb_nr() into caller



Since commit 925a6efb ("Btrfs: stop using
try_to_writeback_inodes_sb_nr to flush delalloc") this function hasn't
been used outside so stop exporting it.

In addition we merge it into try_to_writeback_inodes_sb() which is the
only caller.  Also change return type of try_to_writeback_inodes_sb to
void as the only user ext4 doesn't care.

Reviewed-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarRakesh Pandit <rakesh@tuxera.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 99fead8d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment