summaryrefslogtreecommitdiff
path: root/drivers/dax/dax.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-01-25 10:02:09 +0300
committerDan Williams <dan.j.williams@intel.com>2017-04-20 01:14:35 +0300
commitc1d6e828a35df524df2af277eedd1471d05e4f4c (patch)
treee0e22fcca09c7b5bb9d1c74d9e0b48da11bae8a7 /drivers/dax/dax.h
parent6568b08b77816cda2a95919c7494108d983d5941 (diff)
downloadlinux-c1d6e828a35df524df2af277eedd1471d05e4f4c.tar.xz
pmem: add dax_operations support
Setup a dax_device to have the same lifetime as the pmem block device and add a ->direct_access() method that is equivalent to pmem_direct_access(). Once fs/dax.c has been converted to use dax_operations the old pmem_direct_access() will be removed. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/dax.h')
-rw-r--r--drivers/dax/dax.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/dax/dax.h b/drivers/dax/dax.h
index 617bbc24be2b..f9e5feea742c 100644
--- a/drivers/dax/dax.h
+++ b/drivers/dax/dax.h
@@ -13,13 +13,6 @@
#ifndef __DAX_H__
#define __DAX_H__
struct dax_device;
-struct dax_operations;
-struct dax_device *alloc_dax(void *private, const char *host,
- const struct dax_operations *ops);
-void put_dax(struct dax_device *dax_dev);
-bool dax_alive(struct dax_device *dax_dev);
-void kill_dax(struct dax_device *dax_dev);
struct dax_device *inode_dax(struct inode *inode);
struct inode *dax_inode(struct dax_device *dax_dev);
-void *dax_get_private(struct dax_device *dax_dev);
#endif /* __DAX_H__ */