diff options
Diffstat (limited to 'fs/btrfs/dir-item.c')
-rw-r--r-- | fs/btrfs/dir-item.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/fs/btrfs/dir-item.c b/fs/btrfs/dir-item.c index fc8df866e919..1752625fb4dd 100644 --- a/fs/btrfs/dir-item.c +++ b/fs/btrfs/dir-item.c | |||
@@ -21,10 +21,6 @@ | |||
21 | #include "hash.h" | 21 | #include "hash.h" |
22 | #include "transaction.h" | 22 | #include "transaction.h" |
23 | 23 | ||
24 | static struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_root *root, | ||
25 | struct btrfs_path *path, | ||
26 | const char *name, int name_len); | ||
27 | |||
28 | /* | 24 | /* |
29 | * insert a name into a directory, doing overflow properly if there is a hash | 25 | * insert a name into a directory, doing overflow properly if there is a hash |
30 | * collision. data_size indicates how big the item inserted should be. On | 26 | * collision. data_size indicates how big the item inserted should be. On |
@@ -383,9 +379,9 @@ struct btrfs_dir_item *btrfs_lookup_xattr(struct btrfs_trans_handle *trans, | |||
383 | * this walks through all the entries in a dir item and finds one | 379 | * this walks through all the entries in a dir item and finds one |
384 | * for a specific name. | 380 | * for a specific name. |
385 | */ | 381 | */ |
386 | static struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_root *root, | 382 | struct btrfs_dir_item *btrfs_match_dir_item_name(struct btrfs_root *root, |
387 | struct btrfs_path *path, | 383 | struct btrfs_path *path, |
388 | const char *name, int name_len) | 384 | const char *name, int name_len) |
389 | { | 385 | { |
390 | struct btrfs_dir_item *dir_item; | 386 | struct btrfs_dir_item *dir_item; |
391 | unsigned long name_ptr; | 387 | unsigned long name_ptr; |