Re: [PATCH] jfs: Fix null-ptr-deref in write_special_inodes

From: Matthew Wilcox
Date: Tue Oct 22 2024 - 08:14:30 EST


On Tue, Oct 15, 2024 at 12:50:05PM +0800, Edward Adam Davis wrote:
> There is a race condition when accessing ipimap and ipbmap.
>
> CPU1 CPU2
> ==== ====
> jfs_umount
> sbi->ipimap = NULL; lmLogSync

how are we unmounting the filesystem while still writing to it?