]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/btrfs/ctree.h
btrfs: Make btrfs_add_link take btrfs_inode
[mirror_ubuntu-bionic-kernel.git] / fs / btrfs / ctree.h
index 809736ec549b433801979f55e22e13d50f6e8708..f03c2f285eb1efab10f73d543ec368ea4cdae30b 100644 (file)
@@ -3129,7 +3129,7 @@ int btrfs_unlink_inode(struct btrfs_trans_handle *trans,
                       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,
+                  struct btrfs_inode *parent_inode, struct btrfs_inode *inode,
                   const char *name, int name_len, int add_backref, u64 index);
 int btrfs_unlink_subvol(struct btrfs_trans_handle *trans,
                        struct btrfs_root *root,