diff -r d0921c0349a9 inode.c --- a/inode.c Fri Sep 14 10:23:29 2007 -0400 +++ b/inode.c Mon Sep 17 21:01:06 2007 +0800 @@ -2106,7 +2106,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;
On Mon, 17 Sep 2007 21:03:55 +0800 "Yan Zheng" <yanzheng@21cn.com> wrote:> diff -r d0921c0349a9 inode.c > --- a/inode.c Fri Sep 14 10:23:29 2007 -0400 > +++ b/inode.c Mon Sep 17 21:01:06 2007 +0800 > @@ -2106,7 +2106,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);Wow, that's a big bug. Thanks. -chris