xfs: use GPF_NOFS when allocating btree cursors
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 9 Dec 2016 05:49:54 +0000 (16:49 +1100)
committerDave Chinner <david@fromorbit.com>
Fri, 9 Dec 2016 05:49:54 +0000 (16:49 +1100)
commitb24a978c377be5f14e798cb41238e66fe51aab2f
treed2d557530fcef7aa3cfde0ffd8d2df1707a27bcd
parent0c187dc508d7d8520319c0dcaa0601775f69ab5a
xfs: use GPF_NOFS when allocating btree cursors

Use NOFS for allocating btree cursors, since they can be called
under the ilock.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_alloc_btree.c
fs/xfs/libxfs/xfs_bmap_btree.c
fs/xfs/libxfs/xfs_ialloc_btree.c