]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: remove XFS_TRANS_NOFS
authorChristoph Hellwig <hch@lst.de>
Wed, 14 Aug 2019 22:05:17 +0000 (18:05 -0400)
committerEric Sandeen <sandeen@redhat.com>
Wed, 14 Aug 2019 22:05:17 +0000 (18:05 -0400)
commit6aeb1c0b4378e19e757e9e6fe626e75bed325923
tree0e6256ae505fac9dd654162b3beb4ef83b536bbc
parent4798848ff75be70f433d9e13230ece55021ef6d3
xfs: remove XFS_TRANS_NOFS

Source kernel commit: 73d30d48749f883fbaaf68ef5d774e99ffafda5d

Instead of a magic flag for xfs_trans_alloc, just ensure all callers
that can't relclaim through the file system use memalloc_nofs_save to
set the per-task nofs flag.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/trans.c
libxfs/xfs_shared.h