sst-linux/fs/gfs2
Andreas Gruenbacher 2a40a140e1 gfs2: Truncate address space when flipping GFS2_DIF_JDATA flag
commit 7c9d9223802fbed4dee1ae301661bf346964c9d2 upstream.

Truncate an inode's address space when flipping the GFS2_DIF_JDATA flag:
depending on that flag, the pages in the address space will either use
buffer heads or iomap_folio_state structs, and we cannot mix the two.

Reported-by: Kun Hu <huk23@m.fudan.edu.cn>, Jiaji Qin <jjtan24@m.fudan.edu.cn>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-02-01 18:30:09 +01:00
..
acl.c
acl.h
aops.c
aops.h
bmap.c
bmap.h
dentry.c
dir.c
dir.h
export.c
file.c gfs2: Truncate address space when flipping GFS2_DIF_JDATA flag 2025-02-01 18:30:09 +01:00
gfs2.h
glock.c gfs2: Remove LM_FLAG_PRIORITY flag 2024-08-29 17:30:56 +02:00
glock.h gfs2: Remove LM_FLAG_PRIORITY flag 2024-08-29 17:30:56 +02:00
glops.c gfs2: Remove freeze_go_demote_ok 2024-08-29 17:30:56 +02:00
glops.h
incore.h gfs2: Rename SDF_{FS_FROZEN => FREEZE_INITIATOR} 2024-08-29 17:30:18 +02:00
inode.c gfs2: setattr_chown: Add missing initialization 2024-08-29 17:30:31 +02:00
inode.h
Kconfig
lock_dlm.c gfs2: Remove LM_FLAG_PRIORITY flag 2024-08-29 17:30:56 +02:00
log.c gfs2: Rework freeze / thaw logic 2024-08-29 17:30:18 +02:00
log.h
lops.c
lops.h
main.c
Makefile
meta_io.c
meta_io.h
ops_fstype.c gfs2: don't withdraw if init_threads() got interrupted 2024-08-29 17:30:55 +02:00
quota.c
quota.h
recovery.c gfs2: Rework freeze / thaw logic 2024-08-29 17:30:18 +02:00
recovery.h
rgrp.c
rgrp.h
super.c gfs2: Refcounting fix in gfs2_thaw_super 2024-08-29 17:30:34 +02:00
super.h gfs2: Rework freeze / thaw logic 2024-08-29 17:30:18 +02:00
sys.c gfs2: Rename SDF_{FS_FROZEN => FREEZE_INITIATOR} 2024-08-29 17:30:18 +02:00
sys.h
trace_gfs2.h
trans.c
trans.h
util.c gfs2: Stop using gfs2_make_fs_ro for withdraw 2024-08-29 17:30:18 +02:00
util.h gfs2: Rename gfs2_freeze_lock{ => _shared } 2024-08-29 17:30:18 +02:00
xattr.c
xattr.h