Skip to content

Commit f3dd9ae

Browse files
tititiou36weiny2
authored andcommitted
dax: Remove an unused field in struct dax_operations
.dax_supported() was apparently removed by commit 7b0800d ("dax: remove dax_capable") on 2021-11. Remove the now unused function pointer from the struct dax_operations. Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Jan Kara <[email protected]> Link: https://patch.msgid.link/56b92b722ca0a6fd1387c871a6ec01bcb9bd525e.1725203804.git.christophe.jaillet@wanadoo.fr Signed-off-by: Ira Weiny <[email protected]>
1 parent b8e6d7c commit f3dd9ae

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/linux/dax.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@ struct dax_operations {
2727
*/
2828
long (*direct_access)(struct dax_device *, pgoff_t, long,
2929
enum dax_access_mode, void **, pfn_t *);
30-
/*
31-
* Validate whether this device is usable as an fsdax backing
32-
* device.
33-
*/
34-
bool (*dax_supported)(struct dax_device *, struct block_device *, int,
35-
sector_t, sector_t);
3630
/* zero_page_range: required operation. Zero page range */
3731
int (*zero_page_range)(struct dax_device *, pgoff_t, size_t);
3832
/*

0 commit comments

Comments
 (0)