]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit00f0948a719912074bed734ad9661f85da04792f
treedb1e737aad677429055101a112049a143378a309
parentc4b5d0620e50eb2590a45abecf97d54010071f41
writeback: merge try_to_writeback_inodes_sb_nr() into caller

Since commit 93e8b97274384 ("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