hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/fs/xfs/scrub/symlink.c
....@@ -9,19 +9,11 @@
99 #include "xfs_format.h"
1010 #include "xfs_trans_resv.h"
1111 #include "xfs_mount.h"
12
-#include "xfs_defer.h"
13
-#include "xfs_btree.h"
14
-#include "xfs_bit.h"
1512 #include "xfs_log_format.h"
16
-#include "xfs_trans.h"
17
-#include "xfs_sb.h"
1813 #include "xfs_inode.h"
19
-#include "xfs_inode_fork.h"
2014 #include "xfs_symlink.h"
21
-#include "scrub/xfs_scrub.h"
2215 #include "scrub/scrub.h"
2316 #include "scrub/common.h"
24
-#include "scrub/trace.h"
2517
2618 /* Set us up to scrub a symbolic link. */
2719 int
....@@ -30,7 +22,7 @@
3022 struct xfs_inode *ip)
3123 {
3224 /* Allocate the buffer without the inode lock held. */
33
- sc->buf = kmem_zalloc_large(XFS_SYMLINK_MAXLEN + 1, KM_SLEEP);
25
+ sc->buf = kvzalloc(XFS_SYMLINK_MAXLEN + 1, GFP_KERNEL);
3426 if (!sc->buf)
3527 return -ENOMEM;
3628