From: Dave Chinner <dchinner@xxxxxxxxxx> Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx> --- fs/xfs/xfs_attr_item.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_attr_item.c b/fs/xfs/xfs_attr_item.c index 2f48e84754ae..4072972a2ed8 100644 --- a/fs/xfs/xfs_attr_item.c +++ b/fs/xfs/xfs_attr_item.c @@ -184,7 +184,7 @@ xfs_attri_init( uint size; size = sizeof(struct xfs_attri_log_item) + buffer_size; - attrip = kvmalloc(size, KM_ZERO); + attrip = kvmalloc(size, GFP_KERNEL | __GFP_ZERO); if (attrip == NULL) return NULL; -- 2.31.1