USB: g_file_storage: parts of file_storage.c moved to separate file
[deliverable/linux.git] / fs / xattr_acl.c
index 789a2559bd54a6da7a8166a60e27489e53d29938..05ac0fe9c4d3cb7e62dab0510c398e5e026935eb 100644 (file)
@@ -6,7 +6,6 @@
  */
 
 #include <linux/module.h>
-#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/fs.h>
 #include <linux/posix_acl_xattr.h>
@@ -37,7 +36,7 @@ posix_acl_from_xattr(const void *value, size_t size)
        if (count == 0)
                return NULL;
        
-       acl = posix_acl_alloc(count, GFP_KERNEL);
+       acl = posix_acl_alloc(count, GFP_NOFS);
        if (!acl)
                return ERR_PTR(-ENOMEM);
        acl_e = acl->a_entries;
This page took 0.037305 seconds and 5 git commands to generate.