Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

gfs2: Don't zero i_private_data

Remove the explicit zeroing of mapping->i_private_data since this
field is no longer used.

CC: Andreas Gruenbacher <agruenba@redhat.com>
CC: gfs2@lists.linux.dev
Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260326095354.16340-44-jack@suse.cz
Tested-by: syzbot@syzkaller.appspotmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>

authored by

Jan Kara and committed by
Christian Brauner
7e5ccdd8 ab856368

-1
-1
fs/gfs2/glock.c
··· 1149 1149 mapping->flags = 0; 1150 1150 gfp_mask = mapping_gfp_mask(sdp->sd_inode->i_mapping); 1151 1151 mapping_set_gfp_mask(mapping, gfp_mask); 1152 - mapping->i_private_data = NULL; 1153 1152 mapping->writeback_index = 0; 1154 1153 } 1155 1154