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.

Merge tag 'gfs2-v6.3-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2

Pull gfs2 fix from Andreas Gruenbacher:

- Fix a NULL pointer dereference when mounting corrupted filesystems

* tag 'gfs2-v6.3-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2:
gfs2: Don't deref jdesc in evict

+8
+8
fs/gfs2/super.c
··· 1419 1419 if (inode->i_nlink || sb_rdonly(sb) || !ip->i_no_addr) 1420 1420 goto out; 1421 1421 1422 + /* 1423 + * In case of an incomplete mount, gfs2_evict_inode() may be called for 1424 + * system files without having an active journal to write to. In that 1425 + * case, skip the filesystem evict. 1426 + */ 1427 + if (!sdp->sd_jdesc) 1428 + goto out; 1429 + 1422 1430 gfs2_holder_mark_uninitialized(&gh); 1423 1431 ret = evict_should_delete(inode, &gh); 1424 1432 if (ret == SHOULD_DEFER_EVICTION)