From: Kemeng Shi shikemeng@huaweicloud.com
mainline inclusion from mainline-next-20240508 commit 6a1ee87176ffed1d9e749bc66a2ad85be2d7dbb7 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9NOHO
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/f...
--------------------------------
writeback_inodes_sb doesn't have return value, just remove unnecessary return in it.
Signed-off-by: Kemeng Shi shikemeng@huaweicloud.com Link: https://lore.kernel.org/r/20240228091958.288260-7-shikemeng@huaweicloud.com Reviewed-by: Jan Kara jack@suse.cz Signed-off-by: Christian Brauner brauner@kernel.org Signed-off-by: Zhihao Cheng chengzhihao@huaweicloud.com --- fs/fs-writeback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c index 7b13a430860a..c79f04ad646e 100644 --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -2710,7 +2710,7 @@ EXPORT_SYMBOL(writeback_inodes_sb_nr); */ void writeback_inodes_sb(struct super_block *sb, enum wb_reason reason) { - return writeback_inodes_sb_nr(sb, get_nr_dirty_pages(), reason); + writeback_inodes_sb_nr(sb, get_nr_dirty_pages(), reason); } EXPORT_SYMBOL(writeback_inodes_sb);