Btrfs: more inode indexed directory work
[linux-2.6-block.git] / fs / btrfs / ctree.h
index 87c56222a620b3e10656093844b7aac4d1400015..61d7b4738af67e8632f011616d5538bf322514f7 100644 (file)
@@ -921,6 +921,10 @@ int btrfs_insert_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root
 int btrfs_lookup_dir_item(struct btrfs_trans_handle *trans, struct btrfs_root
                          *root, struct btrfs_path *path, u64 dir,
                          const char *name, int name_len, int mod);
+int btrfs_lookup_dir_index_item(struct btrfs_trans_handle *trans,
+                               struct btrfs_root *root,
+                               struct btrfs_path *path, u64 dir,
+                               u64 objectid, int mod);
 int btrfs_match_dir_item_name(struct btrfs_root *root, struct btrfs_path *path,
                              const char *name, int name_len);
 /* inode-map.c */