In Patch:
[7a862fb] brd: remove dax support
Dan Williams has removed the only might_sleep
implementation of ->direct_access.
So we no longer need to check for it.
CC: Dan Williams <[email protected]>
Signed-off-by: Boaz Harrosh <[email protected]>
---
drivers/dax/super.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/dax/super.c b/drivers/dax/super.c
index 3ec8046..0a75550 100644
--- a/drivers/dax/super.c
+++ b/drivers/dax/super.c
@@ -236,12 +236,6 @@ long dax_direct_access(struct dax_device *dax_dev, pgoff_t
pgoff, long nr_pages,
{
long avail;
- /*
- * The device driver is allowed to sleep, in order to make the
- * memory directly accessible.
- */
- might_sleep();
-
if (!dax_dev)
return -EOPNOTSUPP;
--
2.5.5
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm