diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-05-27 14:32:37 +0200 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-05-30 08:26:18 +0200 |
| commit | 8070a50b88971f9fada55a3ae3330f529bef9adc (patch) | |
| tree | 9f03fd4d416ac32671747be5faa840f11db58572 /kernel/workqueue.c | |
| parent | 2fa29c1a167739fdef0fda9742ddeb15d9a6c7e4 (diff) | |
xfs: abort mount if xfs_fs_reserve_ag_blocks fails
xfs_mountfs currently ignores all errors from xfs_fs_reserve_ag_blocks,
which can lead to the mount path continuing on corruption errors.
Fix the check to only ignore -ENOSPC as in other callers, and unwind for
all other errors.
Fixes: 81ed94751b15 ("xfs: fix log intent recovery ENOSPC shutdowns when inactivating inodes")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions
