Files
linux-stable-mirror/fs
Andreas GruenbacherandSasha Levin 5d5d9ec957 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:19:57 -05:00
..
2025-10-19 16:21:28 +02:00
2026-01-19 13:10:08 +01:00
2026-03-04 07:19:57 -05:00
2026-01-19 13:10:10 +01:00
2026-01-19 13:10:18 +01:00
2025-10-19 16:21:28 +02:00
2025-04-10 14:31:50 +02:00
2025-10-29 14:03:09 +01:00
2025-03-13 12:49:50 +01:00
2026-01-19 13:10:10 +01:00