[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1427087183-20391-1-git-send-email-sanidhya.gatech@gmail.com>
Date: Mon, 23 Mar 2015 01:06:23 -0400
From: Sanidhya Kashyap <sanidhya.gatech@...il.com>
To: david@...morbit.com, xfs@....sgi.com, linux-kernel@...r.kernel.org
Cc: taesoo@...ech.edu, changwoo@...ech.edu, sanidhya@...ech.edu,
blee@...ech.edu, csong84@...ech.edu,
Sanidhya Kashyap <sanidhya.gatech@...il.com>
Subject: [PATCH] xfs: use GFP_NOFS argument in radix_tree_preload
From: Byoungyoung Lee <blee@...ech.edu>
Following the convention of other file systems, GFP_NOFS
should be used as an argument for radix_tree_preload() instead
of GFP_KERNEL.
Signed-off-by: Byoungyoung Lee <blee@...ech.edu>
Signed-off-by: Sanidhya Kashyap <sanidhya.gatech@...il.com>
---
fs/xfs/xfs_mru_cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/xfs/xfs_mru_cache.c b/fs/xfs/xfs_mru_cache.c
index 30ecca3..f8a674d 100644
--- a/fs/xfs/xfs_mru_cache.c
+++ b/fs/xfs/xfs_mru_cache.c
@@ -437,7 +437,7 @@ xfs_mru_cache_insert(
if (!mru || !mru->lists)
return -EINVAL;
- if (radix_tree_preload(GFP_KERNEL))
+ if (radix_tree_preload(GFP_NOFS))
return -ENOMEM;
INIT_LIST_HEAD(&elem->list_node);
--
2.1.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists