xfs: remove XFS_TRANS_NOFS
authorChristoph Hellwig <hch@lst.de>
Sat, 29 Jun 2019 02:31:38 +0000 (19:31 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sun, 30 Jun 2019 16:05:17 +0000 (09:05 -0700)
commit73d30d48749f883fbaaf68ef5d774e99ffafda5d
treebb1fc3ef60bb74dac86f8db0c3e3a80d95d56e65
parentfe64e0d26b1c8096073661851edc99d6370f5e96
xfs: remove XFS_TRANS_NOFS

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>
fs/xfs/libxfs/xfs_shared.h
fs/xfs/xfs_aops.c
fs/xfs/xfs_file.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_reflink.c
fs/xfs/xfs_trans.c