aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorKemeng Shi <[email protected]>2024-02-28 09:19:58 +0000
committerChristian Brauner <[email protected]>2024-04-05 13:53:45 +0000
commit6a1ee87176ffed1d9e749bc66a2ad85be2d7dbb7 (patch)
tree4f18778882fe4b491c9e7ad0dd3a3d922326e41a /fs/fs-writeback.c
parentfs/writeback: correct comment of __wakeup_flusher_threads_bdi (diff)
downloadkernel-6a1ee87176ffed1d9e749bc66a2ad85be2d7dbb7.tar.gz
kernel-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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
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);