commit | 8e6cf5fbb7b47d337998faab3fcacdceaa547ead | [log] [tgz] |
---|---|---|
author | Zhang Yi <yi.zhang@huawei.com> | Fri Aug 11 14:36:08 2023 +0800 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Aug 23 00:01:52 2023 -0400 |
tree | 93871fc2f4dc9eca95d17b3a3d8fab9059778c40 | |
parent | d9a45496019a73c240bd22912ae18a04b8496364 [diff] |
jbd2: jbd2_journal_init_{dev,inode} return proper error return value Current jbd2_journal_init_{dev,inode} return NULL if some error happens, make them to pass out proper error return value. [ Fix from Yang Yingliang folded in. ] Signed-off-by: Zhang Yi <yi.zhang@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20230811063610.2980059-11-yi.zhang@huaweicloud.com Link: https://lore.kernel.org/r/20230822030018.644419-1-yangyingliang@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>