| .. | .. |
|---|
| 9 | 9 | #include "xfs_format.h" |
|---|
| 10 | 10 | #include "xfs_trans_resv.h" |
|---|
| 11 | 11 | #include "xfs_mount.h" |
|---|
| 12 | | -#include "xfs_defer.h" |
|---|
| 13 | | -#include "xfs_btree.h" |
|---|
| 14 | | -#include "xfs_bit.h" |
|---|
| 15 | 12 | #include "xfs_log_format.h" |
|---|
| 16 | | -#include "xfs_trans.h" |
|---|
| 17 | | -#include "xfs_sb.h" |
|---|
| 18 | 13 | #include "xfs_inode.h" |
|---|
| 19 | | -#include "xfs_inode_fork.h" |
|---|
| 20 | 14 | #include "xfs_symlink.h" |
|---|
| 21 | | -#include "scrub/xfs_scrub.h" |
|---|
| 22 | 15 | #include "scrub/scrub.h" |
|---|
| 23 | 16 | #include "scrub/common.h" |
|---|
| 24 | | -#include "scrub/trace.h" |
|---|
| 25 | 17 | |
|---|
| 26 | 18 | /* Set us up to scrub a symbolic link. */ |
|---|
| 27 | 19 | int |
|---|
| .. | .. |
|---|
| 30 | 22 | struct xfs_inode *ip) |
|---|
| 31 | 23 | { |
|---|
| 32 | 24 | /* 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); |
|---|
| 34 | 26 | if (!sc->buf) |
|---|
| 35 | 27 | return -ENOMEM; |
|---|
| 36 | 28 | |
|---|