summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2017-02-20 12:50:31 +0100
committerDavid Sterba <dsterba@suse.com>2017-02-28 11:30:06 +0100
commit8e7611cf38765f1bf1324ed1190f1f8e76ab9546 (patch)
tree1c8382a0b30659ed122fc3422dd457dc9977b901 /fs/btrfs/ctree.h
parentbtrfs: Make btrfs_log_all_parents take btrfs_inode (diff)
downloadlinux-8e7611cf38765f1bf1324ed1190f1f8e76ab9546.tar.xz
linux-8e7611cf38765f1bf1324ed1190f1f8e76ab9546.zip
btrfs: Make btrfs_insert_dir_item take btrfs_inode
Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index ad23a73ac7e7..97f84a80b479 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -2982,7 +2982,7 @@ int btrfs_check_dir_item_collision(struct btrfs_root *root, u64 dir,
const char *name, int name_len);
int btrfs_insert_dir_item(struct btrfs_trans_handle *trans,
struct btrfs_root *root, const char *name,
- int name_len, struct inode *dir,
+ int name_len, struct btrfs_inode *dir,
struct btrfs_key *location, u8 type, u64 index);
struct btrfs_dir_item *btrfs_lookup_dir_item(struct btrfs_trans_handle *trans,
struct btrfs_root *root,