| commit | e411d74cc5ba290f85d0dd5e4d1df8f1d6d975d2 | [log] [tgz] |
|---|---|---|
| author | Andreas Gruenbacher <agruenba@redhat.com> | Thu Feb 05 15:52:57 2026 +0100 |
| committer | Andreas Gruenbacher <agruenba@redhat.com> | Thu Feb 05 18:00:45 2026 +0100 |
| tree | 8c36c5117ea7ddc448e8470e921cceb1f920653d | |
| parent | da6f5bbc2e7902f578b503f2a4c3d8d09ca4b102 [diff] |
gfs2: fiemap page fault fix 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>