Zhang Yi 8e6cf5fbb7 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>
2023-08-23 00:01:52 -04:00
..
2023-06-28 16:43:10 -07:00
2023-01-19 09:24:28 +01:00
2023-01-19 09:24:27 +01:00
2022-05-09 16:21:46 -04:00
2023-04-24 19:28:49 -07:00
2022-08-17 17:25:04 -04:00
2023-06-26 11:52:12 -07:00
2022-07-29 18:12:36 -07:00
2023-04-21 14:54:34 -07:00
2018-12-28 12:11:45 -08:00
2022-05-09 16:21:46 -04:00
2023-04-24 13:35:23 -07:00