[PATCH 2/5] xfs: fix flags passed to kvmalloc() by xfs_attri_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux