dax: Remove unused export of dax_dev_get()
Subsystems (3)
PATCH 1/1 dax: Remove unused export of dax_dev_get()
In reply to a message not in the archiveFrom: John Groves <[email protected]>
Commit 2ae624d5a555 ("dax: export dax_dev_get()") exported dax_dev_get() in v7.2 for famfs, which has not merged. The export has never had an in-tree caller, so make dax_dev_get() static again.
Signed-off-by John Groves <[email protected]>
Reviewed-by Dave Jiang <[email protected]>
Reviewed-by Alison Schofield <[email protected]>
--- drivers/dax/super.c | 3 +-- include/linux/dax.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-)
drivers/dax/super.c +1 -2
@@ -521,7 +521,7 @@ static int dax_set(struct inode *inode, void *data)return 0 ; } -struct dax_device *dax_dev_get (dev_t devt) +static struct dax_device *dax_dev_get (dev_t devt) {struct dax_device *dax_dev;struct inode *inode;
@@ -544,7 +544,6 @@ struct dax_device *dax_dev_get(dev_t devt)return dax_dev; } -EXPORT_SYMBOL_GPL (dax_dev_get);struct dax_device *alloc_dax (void *private,const struct dax_operations *ops) {
include/linux/dax.h +0 -1
@@ -54,7 +54,6 @@ struct dax_device *alloc_dax(void *private, const struct dax_operations *ops);void *dax_holder (struct dax_device *dax_dev);void put_dax (struct dax_device *dax_dev);void kill_dax (struct dax_device *dax_dev); -struct dax_device *dax_dev_get (dev_t devt);void dax_write_cache (struct dax_device *dax_dev,bool wc);bool dax_write_cache_enabled (struct dax_device *dax_dev);bool dax_synchronous (struct dax_device *dax_dev);
Signature · 1 line
2.53.0