Skip to content

Commit

Permalink
create btrfs_path slab with the correct size
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Yan authored and Chris Mason committed Sep 25, 2008
1 parent a61721d commit 2322358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/btrfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2322358

Please sign in to comment.