diff options
author | Pushkar Jambhlekar <pushkar.iit@gmail.com> | 2017-04-11 19:12:25 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-04-13 07:59:13 +0300 |
commit | 54eafcc9e339affb8982fd21e1fc4aa4a036655b (patch) | |
tree | 07a660bb3a05894e2f44988f836d25509397c3fc /drivers/dax/super.c | |
parent | bfca9acf1a5df0ff98fbf47e363adb48612bb7ec (diff) | |
download | linux-54eafcc9e339affb8982fd21e1fc4aa4a036655b.tar.xz |
device-dax: fix dax_dev_huge_fault() unknown fault size handling
The default case for dax_dev_huge_fault() fault size handling mistakenly
returns when it should unlock. This is not a problem in practice since
the only three possible fault sizes are handled. Going forward, if the
core mm adds a new fault size beyond pte, pmd, or pud device-dax should
abort VM_FAULT_SIGBUS requests not VM_FAULT_FALLBACK since device-dax
guarantees a configured fault granularity for all faults.
Signed-off-by: Pushkar Jambhlekar <pushkar.iit@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dax/super.c')
0 files changed, 0 insertions, 0 deletions