Skip to content

Commit aacd897

Browse files
author
Kent Overstreet
committed
Revert "bcachefs: Mark bch_inode_info as SLAB_ACCOUNT"
This reverts commit 86d81ec. This wasn't tested with memcg enabled, it immediately hits a null ptr deref in list_lru_add(). Signed-off-by: Kent Overstreet <[email protected]>
1 parent fd80d14 commit aacd897

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fs/bcachefs/fs.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,8 +2073,7 @@ int __init bch2_vfs_init(void)
20732073
{
20742074
int ret = -ENOMEM;
20752075

2076-
bch2_inode_cache = KMEM_CACHE(bch_inode_info, SLAB_RECLAIM_ACCOUNT |
2077-
SLAB_ACCOUNT);
2076+
bch2_inode_cache = KMEM_CACHE(bch_inode_info, SLAB_RECLAIM_ACCOUNT);
20782077
if (!bch2_inode_cache)
20792078
goto err;
20802079

0 commit comments

Comments
 (0)