diff --git a/fs/fcntl.c b/fs/fcntl.c index 2e54fdc14e51f85a5977f6cb23539f6d889c6723..9ed564c1bcffdda5d3e58d646050ed2af30c11a1 100644 --- a/fs/fcntl.c +++ b/fs/fcntl.c @@ -1059,7 +1059,8 @@ static int __init fcntl_init(void) __FMODE_EXEC | __FMODE_NONOTIFY)); fasync_cache = kmem_cache_create("fasync_cache", - sizeof(struct fasync_struct), 0, SLAB_PANIC, NULL); + sizeof(struct fasync_struct), 0, + SLAB_PANIC | SLAB_ACCOUNT, NULL); return 0; }