aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dir-item.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-23 15:56:19 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-23 15:56:19 -0400
commit7f5c15160e1436a53d01f9190db11c2a3a4d788a (patch)
treeae9894ab743aca4ff4c1f50ada5a5ed665a88c21 /fs/btrfs/dir-item.c
parentdf2ce34c8801af8e00c7f82435fcb1e4b45a2759 (diff)
Add generation number to btrfs_header, readdir fixes, hash collision fixes
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/dir-item.c')
-rw-r--r--fs/btrfs/dir-item.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/dir-item.c b/fs/btrfs/dir-item.c
index f81cbcc83b66..c18f81797a88 100644
--- a/fs/btrfs/dir-item.c
+++ b/fs/btrfs/dir-item.c
@@ -60,8 +60,8 @@ int btrfs_lookup_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root
60} 60}
61 61
62int btrfs_match_dir_item_name(struct btrfs_root *root, 62int btrfs_match_dir_item_name(struct btrfs_root *root,
63 struct btrfs_path *path, char 63 struct btrfs_path *path,
64 *name, int name_len) 64 const char *name, int name_len)
65{ 65{
66 struct btrfs_dir_item *dir_item; 66 struct btrfs_dir_item *dir_item;
67 char *name_ptr; 67 char *name_ptr;