Files
linux-stable-mirror/fs/gfs2
Andreas Gruenbacher 5d2c4f182e gfs2: fiemap page fault fix
[ Upstream commit e411d74cc5 ]

In gfs2_fiemap(), we are calling iomap_fiemap() while holding the inode
glock.  This can lead to recursive glock taking if the fiemap buffer is
memory mapped to the same inode and accessing it triggers a page fault.

Fix by disabling page faults for iomap_fiemap() and faulting in the
buffer by hand if necessary.

Fixes xfstest generic/742.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-04 07:20:52 -05:00
..
2026-03-04 07:20:52 -05:00
2025-12-18 13:55:08 +01:00
2026-01-23 11:18:35 +01:00
2026-01-08 10:14:56 +01:00