]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
fs: xfs: Remove KM_NOSLEEP and KM_SLEEP.
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Fri, 13 Dec 2019 00:54:33 +0000 (19:54 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 13 Dec 2019 00:54:33 +0000 (19:54 -0500)
commit6cd1e6dbdc8c03f4bfb573e4cecf3b211ef90793
tree75741898f88b03c89d8920a98c32260a3c44554c
parent1609c11ae071e7c7b6309bf94f291faf1a2006b3
fs: xfs: Remove KM_NOSLEEP and KM_SLEEP.

Source kernel commit: 707e0ddaf67e8942448ebdd16b523e409ebe40ce

Since no caller is using KM_NOSLEEP and no callee branches on KM_SLEEP,
we can remove KM_NOSLEEP and replace KM_SLEEP with 0.

Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
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>
15 files changed:
include/kmem.h
libxfs/logitem.c
libxfs/trans.c
libxfs/xfs_alloc.c
libxfs/xfs_attr_leaf.c
libxfs/xfs_bmap.c
libxfs/xfs_da_btree.c
libxfs/xfs_defer.c
libxfs/xfs_dir2.c
libxfs/xfs_dir2_block.c
libxfs/xfs_dir2_sf.c
libxfs/xfs_inode_fork.c
libxfs/xfs_refcount.c
libxfs/xfs_rmap.c
libxlog/xfs_log_recover.c