mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
052b0777d7
This is a testcase for a bug which goes way back; googling "xfs_trans_log_inode NULL pointer dereference" yields sporadic reports over several years. The test sets up several two-extent files with speculative preallocation on them, and then runs xfs_fsr. The kernelside code ignores the preallocation, and therefore sets up the temporary inode incorrectly after the inode fork swap. It is a "dangerous" test because the extent mishandling on the temporary inode causes a null pointer dereference and oops when the inode's i_itemp pointer gets overwritten and we blow up in logging code that tries to use it. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
3 lines
43 B
Plaintext
3 lines
43 B
Plaintext
QA output created by 118
|
|
Silence is golden
|