]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: use GPF_NOFS when allocating btree cursors
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 10 Jan 2017 02:18:50 +0000 (20:18 -0600)
committerEric Sandeen <sandeen@redhat.com>
Tue, 10 Jan 2017 02:18:50 +0000 (20:18 -0600)
commit762989ef687272637c261efc5ae0842a053ee863
tree66af9097ae38cd137187127316f47ec0f47c8a7b
parenta002f1d8d7ec5e3be7ad0b5f9954b717df19241f
xfs: use GPF_NOFS when allocating btree cursors

Source kernel commit: b24a978c377be5f14e798cb41238e66fe51aab2f

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_alloc_btree.c
libxfs/xfs_bmap_btree.c
libxfs/xfs_ialloc_btree.c