diff options
author | Yan <yanzheng@21cn.com> | 2007-09-17 11:08:52 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:56 -0400 |
commit | 23223584e44cb1b0b69ba3a9ad74956f292a416b (patch) | |
tree | 2e12b35b18ed456ec83f4886cb351b05d55c1d37 /fs/btrfs/inode.c | |
parent | a61721d5b771d1735415a6b4c75409ab1fc9c845 (diff) |
create btrfs_path slab with the correct size
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 211ca32c65c5..192fdda0d56e 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -2127,7 +2127,7 @@ int btrfs_init_cachep(void) | |||
2127 | if (!btrfs_transaction_cachep) | 2127 | if (!btrfs_transaction_cachep) |
2128 | goto fail; | 2128 | goto fail; |
2129 | btrfs_path_cachep = btrfs_cache_create("btrfs_path_cache", | 2129 | btrfs_path_cachep = btrfs_cache_create("btrfs_path_cache", |
2130 | sizeof(struct btrfs_transaction), | 2130 | sizeof(struct btrfs_path), |
2131 | 0, NULL); | 2131 | 0, NULL); |
2132 | if (!btrfs_path_cachep) | 2132 | if (!btrfs_path_cachep) |
2133 | goto fail; | 2133 | goto fail; |