]> git.ipfire.org Git - people/ms/linux.git/commit - fs/xfs/scrub/agheader.c
xfs: clean up scrub usage of KM_NOFS
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 9 May 2018 17:02:00 +0000 (10:02 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 May 2018 00:57:05 +0000 (17:57 -0700)
commit631fc955bdc86c3fed5880cba80c663d1b32e0c2
tree75d8ae72609e593fdeb7f6c9421460da41bd5439
parenteb41c93fef19ebcafbbe3c180ec41c21032b751e
xfs: clean up scrub usage of KM_NOFS

All scrub code runs in transaction context, which means that memory
allocations are automatically run in PF_MEMALLOC_NOFS context.  It's
therefore unnecessary to pass in KM_NOFS to allocation routines, so
clean them all out.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/scrub/agheader.c
fs/xfs/scrub/btree.c
fs/xfs/scrub/refcount.c