diff options
author | Christoph Hellwig <hch@lst.de> | 2021-12-15 09:45:06 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-12-18 08:04:52 -0800 |
commit | fd1d00ec92002d8fe28ca981a72395eaa7ae3d11 (patch) | |
tree | a97b8f1898a335c6a5194aee438337df770fa8da /drivers/dax | |
parent | e17f7a0bc4daa44a4809f5f2f947aa2aa74d1369 (diff) | |
download | linux-stable-fd1d00ec92002d8fe28ca981a72395eaa7ae3d11.tar.gz linux-stable-fd1d00ec92002d8fe28ca981a72395eaa7ae3d11.tar.bz2 linux-stable-fd1d00ec92002d8fe28ca981a72395eaa7ae3d11.zip |
dax: simplify dax_synchronous and set_dax_synchronous
Remove the pointless wrappers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/20211215084508.435401-3-hch@lst.de
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax')
-rw-r--r-- | drivers/dax/super.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dax/super.c b/drivers/dax/super.c index e7152a6c4cc4..e18155f43a63 100644 --- a/drivers/dax/super.c +++ b/drivers/dax/super.c @@ -208,17 +208,17 @@ bool dax_write_cache_enabled(struct dax_device *dax_dev) } EXPORT_SYMBOL_GPL(dax_write_cache_enabled); -bool __dax_synchronous(struct dax_device *dax_dev) +bool dax_synchronous(struct dax_device *dax_dev) { return test_bit(DAXDEV_SYNC, &dax_dev->flags); } -EXPORT_SYMBOL_GPL(__dax_synchronous); +EXPORT_SYMBOL_GPL(dax_synchronous); -void __set_dax_synchronous(struct dax_device *dax_dev) +void set_dax_synchronous(struct dax_device *dax_dev) { set_bit(DAXDEV_SYNC, &dax_dev->flags); } -EXPORT_SYMBOL_GPL(__set_dax_synchronous); +EXPORT_SYMBOL_GPL(set_dax_synchronous); bool dax_alive(struct dax_device *dax_dev) { |