projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd80d14
)
Revert "bcachefs: Mark bch_inode_info as SLAB_ACCOUNT"
author
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 12 Jul 2024 00:01:31 +0000
(20:01 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 12 Jul 2024 00:01:38 +0000
(20:01 -0400)
This reverts commit
86d81ec5f5f05846c7c6e48ffb964b24cba2e669
.
This wasn't tested with memcg enabled, it immediately hits a null ptr
deref in list_lru_add().
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/bcachefs/fs.c
b/fs/bcachefs/fs.c
index 74a1e12a7a1484dfc35c0c110726d11d711a7012..fa1fee05cf8f571bff276a8bc1ad22f88c14da62 100644
(file)
--- a/
fs/bcachefs/fs.c
+++ b/
fs/bcachefs/fs.c
@@
-2073,8
+2073,7
@@
int __init bch2_vfs_init(void)
{
int ret = -ENOMEM;
- bch2_inode_cache = KMEM_CACHE(bch_inode_info, SLAB_RECLAIM_ACCOUNT |
- SLAB_ACCOUNT);
+ bch2_inode_cache = KMEM_CACHE(bch_inode_info, SLAB_RECLAIM_ACCOUNT);
if (!bch2_inode_cache)
goto err;