Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-16609 target: top_trans_create cannot alloc memory
[fs/lustre-release.git]
/
lustre
/
target
/
update_trans.c
diff --git
a/lustre/target/update_trans.c
b/lustre/target/update_trans.c
index
16acc80
..
77f6c4a
100644
(file)
--- a/
lustre/target/update_trans.c
+++ b/
lustre/target/update_trans.c
@@
-592,7
+592,7
@@
top_trans_create(const struct lu_env *env, struct dt_device *master_dev)
struct top_thandle *top_th;
struct thandle *child_th;
- OBD_ALLOC_GFP(top_th, sizeof(*top_th),
__GFP_IO
);
+ OBD_ALLOC_GFP(top_th, sizeof(*top_th),
GFP_NOFS
);
if (top_th == NULL)
return ERR_PTR(-ENOMEM);