]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: remove XFS_TRANS_NOFS
authorChristoph Hellwig <hch@lst.de>
Wed, 28 Aug 2019 16:08:09 +0000 (12:08 -0400)
committerEric Sandeen <sandeen@redhat.com>
Wed, 28 Aug 2019 16:08:09 +0000 (12:08 -0400)
commita36b220167051f144f831cb43d40f632b1858cef
tree2657166dbb9bf2516e41bb6f02f01b6a9ed44761
parent4aeb2b0cb41eeff8c15d9e3464ee55cbd5807733
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