diff options
Diffstat (limited to 'fs/gfs2/inode.c')
-rw-r--r-- | fs/gfs2/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c index dcae2aa83f13..3a9ef526c308 100644 --- a/fs/gfs2/inode.c +++ b/fs/gfs2/inode.c | |||
@@ -1231,7 +1231,7 @@ int gfs2_readlinki(struct gfs2_inode *ip, char **buf, unsigned int *len) | |||
1231 | 1231 | ||
1232 | x = ip->i_di.di_size + 1; | 1232 | x = ip->i_di.di_size + 1; |
1233 | if (x > *len) { | 1233 | if (x > *len) { |
1234 | *buf = kmalloc(x, GFP_KERNEL); | 1234 | *buf = kmalloc(x, GFP_NOFS); |
1235 | if (!*buf) { | 1235 | if (!*buf) { |
1236 | error = -ENOMEM; | 1236 | error = -ENOMEM; |
1237 | goto out_brelse; | 1237 | goto out_brelse; |