]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - fs/fs-writeback.c
writeback: merge try_to_writeback_inodes_sb_nr() into caller
authorRakesh Pandit <rakesh@tuxera.com>
Mon, 9 Oct 2017 10:34:41 +0000 (13:34 +0300)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Oct 2017 14:14:37 +0000 (08:14 -0600)
commit8264c3214f28b52b399d9e03bfa7feec275a0d71
treedb1e737aad677429055101a112049a143378a309
parent99fead8d38e5302b1be9403d4de815ce9174a3df
writeback: merge try_to_writeback_inodes_sb_nr() into caller

Since commit 925a6efb8ff0c ("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: Jan Kara <jack@suse.cz>
Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/fs-writeback.c
include/linux/writeback.h