diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 211ca32c65c59166fa952fee1b0df27ffa0045aa..192fdda0d56eddc2aa2668aba7c67cd414a7b418 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -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;