diff options
| author | Christoph Hellwig <[email protected]> | 2021-12-15 09:45:06 +0100 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2021-12-18 08:04:52 -0800 |
| commit | fd1d00ec92002d8fe28ca981a72395eaa7ae3d11 (patch) | |
| tree | a97b8f1898a335c6a5194aee438337df770fa8da /include/linux | |
| parent | e17f7a0bc4daa44a4809f5f2f947aa2aa74d1369 (diff) | |
dax: simplify dax_synchronous and set_dax_synchronous
Remove the pointless wrappers.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Pankaj Gupta <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/dax.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/include/linux/dax.h b/include/linux/dax.h index 87ae4c9b1d65..3bd1fdb5d5f4 100644 --- a/include/linux/dax.h +++ b/include/linux/dax.h @@ -48,16 +48,8 @@ void put_dax(struct dax_device *dax_dev); void kill_dax(struct dax_device *dax_dev); 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); -static inline bool dax_synchronous(struct dax_device *dax_dev) -{ - return __dax_synchronous(dax_dev); -} -void __set_dax_synchronous(struct dax_device *dax_dev); -static inline void set_dax_synchronous(struct dax_device *dax_dev) -{ - __set_dax_synchronous(dax_dev); -} +bool dax_synchronous(struct dax_device *dax_dev); +void set_dax_synchronous(struct dax_device *dax_dev); /* * Check if given mapping is supported by the file / underlying device. */ |