]> err.no Git - linux-2.6/blobdiff - fs/gfs2/inode.c
[ARM] fix parenthesis in include/asm-arm/arch-omap/control.h
[linux-2.6] / fs / gfs2 / inode.c
index dcae2aa83f137d00eedb6147627a2a9897a8cb98..3a9ef526c308be626b9a3470e27437d11240dab0 100644 (file)
@@ -1231,7 +1231,7 @@ int gfs2_readlinki(struct gfs2_inode *ip, char **buf, unsigned int *len)
 
        x = ip->i_di.di_size + 1;
        if (x > *len) {
-               *buf = kmalloc(x, GFP_KERNEL);
+               *buf = kmalloc(x, GFP_NOFS);
                if (!*buf) {
                        error = -ENOMEM;
                        goto out_brelse;