]> Git Repo - linux.git/commitdiff
dax: Remove an unused field in struct dax_operations
authorChristophe JAILLET <[email protected]>
Sun, 1 Sep 2024 15:17:09 +0000 (17:17 +0200)
committerIra Weiny <[email protected]>
Wed, 13 Nov 2024 19:00:35 +0000 (13:00 -0600)
.dax_supported() was apparently removed by commit 7b0800d00dae ("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]>
include/linux/dax.h

index 9d3e3327af4c055f0a6d7a907f2e1d68a345814d..df41a0017b319d407a41b8fe73ce964343e1ed37 100644 (file)
@@ -27,12 +27,6 @@ struct dax_operations {
         */
        long (*direct_access)(struct dax_device *, pgoff_t, long,
                        enum dax_access_mode, void **, pfn_t *);
-       /*
-        * Validate whether this device is usable as an fsdax backing
-        * device.
-        */
-       bool (*dax_supported)(struct dax_device *, struct block_device *, int,
-                       sector_t, sector_t);
        /* zero_page_range: required operation. Zero page range   */
        int (*zero_page_range)(struct dax_device *, pgoff_t, size_t);
        /*
This page took 0.06881 seconds and 4 git commands to generate.