projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fe3ec6
)
GFS2: Use GFP_NOFS for alloc structure
author
Steven Whitehouse
<swhiteho@redhat.com>
Fri, 29 Jan 2010 15:48:57 +0000
(15:48 +0000)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Mon, 1 Feb 2010 10:01:34 +0000
(10:01 +0000)
This is called under a glock, so its a good plan to use GFP_NOFS
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/rgrp.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/rgrp.c
b/fs/gfs2/rgrp.c
index 46534a554cceb44a9ada82773ad2ca2a33c93f3f..503b842f3ba2c0bd3e433cc9fed031436511b852 100644
(file)
--- a/
fs/gfs2/rgrp.c
+++ b/
fs/gfs2/rgrp.c
@@
-911,7
+911,7
@@
void gfs2_rgrp_repolish_clones(struct gfs2_rgrpd *rgd)
struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip)
{
BUG_ON(ip->i_alloc != NULL);
- ip->i_alloc = kzalloc(sizeof(struct gfs2_alloc), GFP_
KERNEL
);
+ ip->i_alloc = kzalloc(sizeof(struct gfs2_alloc), GFP_
NOFS
);
return ip->i_alloc;
}