summaryrefslogtreecommitdiff
path: root/rust/kernel/faux.rs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-07-31 07:19:41 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-08-28 16:34:38 +0200
commitc8c752194916b6dd7cd727092939d267d6d5dc6c (patch)
tree2ebf3d63e318fdccf7a0e731ac3383b2fe0ae75c /rust/kernel/faux.rs
parente69d24d4a725765f7fbda9af6d12ecbaaa31c5e5 (diff)
xfs: fix frozen file system assert in xfs_trans_alloc
commit 647b3d59c768d7638dd17c78c8044178364383ca upstream. Commit 83a80e95e797 ("xfs: decouple xfs_trans_alloc_empty from xfs_trans_alloc") move the place of the assert for a frozen file system after the sb_start_intwrite call that ensures it doesn't run on frozen file systems, and thus allows to incorrect trigger it. Fix that by moving it back to where it belongs. Fixes: 83a80e95e797 ("xfs: decouple xfs_trans_alloc_empty from xfs_trans_alloc") Reported-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/kernel/faux.rs')
0 files changed, 0 insertions, 0 deletions