mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
dax: ->direct_access does not sleep anymore
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]>
Signed-off-by: Dan Williams <[email protected]>
This commit is contained in:
parent
91ab883eb2
commit
9d4949b493
1 changed files with 0 additions and 6 deletions
|
|
@ -246,12 +246,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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue