mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-15 09:55:36 +00:00
create btrfs_path slab with the correct size
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
a61721d5b7
commit
23223584e4
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user