diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-11-06 17:03:16 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-11-16 15:25:02 -0800 |
commit | 306195f355bbdcc3eff6cffac05bcd93a5e419ed (patch) | |
tree | b3873af48dbb2db7145db89b77c59da7e4dda70d /fs/xfs/scrub/fscounters.c | |
parent | fcd2a43488d5a211aec94e28369b2a72c28258a2 (diff) | |
download | linux-306195f355bbdcc3eff6cffac05bcd93a5e419ed.tar.bz2 |
xfs: pivot online scrub away from kmem.[ch]
Convert all the online scrub code to use the Linux slab allocator
functions directly instead of going through the kmem wrappers.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/scrub/fscounters.c')
-rw-r--r-- | fs/xfs/scrub/fscounters.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/fscounters.c b/fs/xfs/scrub/fscounters.c index 6a6f8fe7f87c..3c56f5890da4 100644 --- a/fs/xfs/scrub/fscounters.c +++ b/fs/xfs/scrub/fscounters.c @@ -116,7 +116,7 @@ xchk_setup_fscounters( struct xchk_fscounters *fsc; int error; - sc->buf = kmem_zalloc(sizeof(struct xchk_fscounters), 0); + sc->buf = kzalloc(sizeof(struct xchk_fscounters), XCHK_GFP_FLAGS); if (!sc->buf) return -ENOMEM; fsc = sc->buf; |