]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - fs/xfs/xfs_buf.h
xfs: port block device access to files
[thirdparty/linux.git] / fs / xfs / xfs_buf.h
index b470de08a46ca8e6e7c3b4dfe7e85110037f3949..304e858d04fb3cfca71d4378f2878293f7462d8b 100644 (file)
@@ -98,7 +98,7 @@ typedef unsigned int xfs_buf_flags_t;
  */
 typedef struct xfs_buftarg {
        dev_t                   bt_dev;
-       struct bdev_handle      *bt_bdev_handle;
+       struct file             *bt_bdev_file;
        struct block_device     *bt_bdev;
        struct dax_device       *bt_daxdev;
        u64                     bt_dax_part_off;
@@ -366,7 +366,7 @@ xfs_buf_update_cksum(struct xfs_buf *bp, unsigned long cksum_offset)
  *     Handling of buftargs.
  */
 struct xfs_buftarg *xfs_alloc_buftarg(struct xfs_mount *mp,
-               struct bdev_handle *bdev_handle);
+               struct file *bdev_file);
 extern void xfs_free_buftarg(struct xfs_buftarg *);
 extern void xfs_buftarg_wait(struct xfs_buftarg *);
 extern void xfs_buftarg_drain(struct xfs_buftarg *);