jbd2: drop useless return value of submit_bh
authorRitesh Harjani (IBM) <ritesh.list@gmail.com>
Thu, 18 Aug 2022 05:04:37 +0000 (10:34 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 30 Sep 2022 03:01:40 +0000 (23:01 -0400)
commitf3ed5df398e8bc5b5e38f2db9b6494997e5ada49
treea5a53652ab2aeb74dd59b56762c25ba92a83074d
parent3b575495ab8dbb4dbe85b4ac7f991693c3668ff5
jbd2: drop useless return value of submit_bh

submit_bh always returns 0. This patch cleans up 2 of it's caller
in jbd2 to drop submit_bh's useless return value.
Once all submit_bh callers are cleaned up, we can make it's return
type as void.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/e069c0539be0aec61abcdc6f6141982ec85d489d.1660788334.git.ritesh.list@gmail.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/jbd2/commit.c
fs/jbd2/journal.c