提交 23223584 编写于 作者: Y Yan 提交者: Chris Mason

create btrfs_path slab with the correct size

Signed-off-by: NChris Mason <chris.mason@oracle.com>
上级 a61721d5
......@@ -2127,7 +2127,7 @@ int btrfs_init_cachep(void)
if (!btrfs_transaction_cachep)
goto fail;
btrfs_path_cachep = btrfs_cache_create("btrfs_path_cache",
sizeof(struct btrfs_transaction),
sizeof(struct btrfs_path),
0, NULL);
if (!btrfs_path_cachep)
goto fail;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册