aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2021-02-23 18:26:06 +0000
committerDarrick J. Wong <[email protected]>2021-02-25 16:07:04 +0000
commit756b1c343333a5aefcc26b0409f3fd16f72281bf (patch)
tree901db3f2a70fa09b78defb0dac555948fda57b1e /scripts/gcc-plugins/structleak_plugin.c
parentxfs: don't nest transactions when scanning for eofblocks (diff)
downloadkernel-756b1c343333a5aefcc26b0409f3fd16f72281bf.tar.gz
kernel-756b1c343333a5aefcc26b0409f3fd16f72281bf.zip
xfs: use current->journal_info for detecting transaction recursion
Because the iomap code using PF_MEMALLOC_NOFS to detect transaction recursion in XFS is just wrong. Remove it from the iomap code and replace it with XFS specific internal checks using current->journal_info instead. [djwong: This change also realigns the lifetime of NOFS flag changes to match the incore transaction, instead of the inconsistent scheme we have now.] Fixes: 9070733b4efa ("xfs: abstract PF_FSTRANS to PF_MEMALLOC_NOFS") Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions