This reverts commit 4771e50a884a2257d793354f53b889e3643a7651.

We are going to switch to the whitelist kmem accounting policy, so zap
every usage of __GFP_NOACCOUNT.

Signed-off-by: Vladimir Davydov <[email protected]>
---
 fs/sysfs/dir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c
index b4a7fda15738..620a402d8d6b 100644
--- a/fs/sysfs/dir.c
+++ b/fs/sysfs/dir.c
@@ -269,7 +269,7 @@ static int sysfs_alloc_ino(unsigned int *pino)
        spin_unlock(&sysfs_ino_lock);
 
        if (rc == -EAGAIN) {
-               if (ida_pre_get(&sysfs_ino_ida, GFP_KERNEL | __GFP_NOACCOUNT))
+               if (ida_pre_get(&sysfs_ino_ida, GFP_KERNEL))
                        goto retry;
                rc = -ENOMEM;
        }
-- 
2.1.4

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to