summaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2024-02-28 10:19:58 +0100
committerChristian Brauner <brauner@kernel.org>2024-04-05 15:53:45 +0200
commit6a1ee87176ffed1d9e749bc66a2ad85be2d7dbb7 (patch)
tree4f18778882fe4b491c9e7ad0dd3a3d922326e41a /fs/fs-writeback.c
parentfs/writeback: correct comment of __wakeup_flusher_threads_bdi (diff)
downloadlinux-6a1ee87176ffed1d9e749bc66a2ad85be2d7dbb7.tar.xz
linux-6a1ee87176ffed1d9e749bc66a2ad85be2d7dbb7.zip
fs/writeback: remove unnecessary return in writeback_inodes_sb
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>
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r--fs/fs-writeback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index e853da9a7fbb..92a5b8283528 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -2735,7 +2735,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);