]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - fs/gfs2/eattr.c
Merge branch 'fixes' into for-linus
[mv-sheeva.git] / fs / gfs2 / eattr.c
index 81755925a755b6b284d95a72b7d7557331067c88..e3f76f451b0a7a6c504b6c3d9cb3c096c77e96c0 100644 (file)
@@ -448,7 +448,7 @@ static int ea_get_unstuffed(struct gfs2_inode *ip, struct gfs2_ea_header *ea,
        unsigned int x;
        int error = 0;
 
-       bh = kcalloc(nptrs, sizeof(struct buffer_head *), GFP_KERNEL);
+       bh = kcalloc(nptrs, sizeof(struct buffer_head *), GFP_NOFS);
        if (!bh)
                return -ENOMEM;
 
@@ -1206,7 +1206,7 @@ static int ea_acl_chmod_unstuffed(struct gfs2_inode *ip,
        unsigned int x;
        int error;
 
-       bh = kcalloc(nptrs, sizeof(struct buffer_head *), GFP_KERNEL);
+       bh = kcalloc(nptrs, sizeof(struct buffer_head *), GFP_NOFS);
        if (!bh)
                return -ENOMEM;