summaryrefslogtreecommitdiff
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorNikolay Borisov <n.borisov.lkml@gmail.com>2017-01-18 00:31:44 +0200
committerDavid Sterba <dsterba@suse.com>2017-02-14 15:50:56 +0100
commit4ec5934e43cabd16d3d61dd095e182c32e7433d5 (patch)
treef80fafaf25999ac7877e8f748ddc8923c5e6feed /fs/btrfs/ctree.h
parent51cc0d322746301bf29455c5ce0cd628cd083420 (diff)
downloadlwn-4ec5934e43cabd16d3d61dd095e182c32e7433d5.tar.gz
lwn-4ec5934e43cabd16d3d61dd095e182c32e7433d5.zip
btrfs: Make btrfs_unlink_inode take btrfs_inode
Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.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 6ebbccf41f46..0c8646217a71 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -3127,7 +3127,7 @@ struct inode *btrfs_lookup_dentry(struct inode *dir, struct dentry *dentry);
int btrfs_set_inode_index(struct inode *dir, u64 *index);
int btrfs_unlink_inode(struct btrfs_trans_handle *trans,
struct btrfs_root *root,
- struct inode *dir, struct inode *inode,
+ struct btrfs_inode *dir, struct btrfs_inode *inode,
const char *name, int name_len);
int btrfs_add_link(struct btrfs_trans_handle *trans,
struct inode *parent_inode, struct inode *inode,