diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2010-01-29 10:48:57 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2010-02-01 05:01:34 -0500 |
commit | ea8d62dadd0217334fb2c5d60e7f89e14076ca10 (patch) | |
tree | f8cb57f71f97152782b77fcc8a76cf6b00756dd6 /fs/gfs2 | |
parent | 7fe3ec6fe58d2bfe97fe7a5d731c29299a8ffd35 (diff) |
GFS2: Use GFP_NOFS for alloc structure
This is called under a glock, so its a good plan to use GFP_NOFS
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/rgrp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index 46534a554cce..503b842f3ba2 100644 --- a/fs/gfs2/rgrp.c +++ b/fs/gfs2/rgrp.c | |||
@@ -911,7 +911,7 @@ void gfs2_rgrp_repolish_clones(struct gfs2_rgrpd *rgd) | |||
911 | struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip) | 911 | struct gfs2_alloc *gfs2_alloc_get(struct gfs2_inode *ip) |
912 | { | 912 | { |
913 | BUG_ON(ip->i_alloc != NULL); | 913 | BUG_ON(ip->i_alloc != NULL); |
914 | ip->i_alloc = kzalloc(sizeof(struct gfs2_alloc), GFP_KERNEL); | 914 | ip->i_alloc = kzalloc(sizeof(struct gfs2_alloc), GFP_NOFS); |
915 | return ip->i_alloc; | 915 | return ip->i_alloc; |
916 | } | 916 | } |
917 | 917 | ||