diff options
author | Jan H. Schönherr <jschoenh@amazon.de> | 2018-01-31 16:14:04 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-01-31 17:18:34 -0800 |
commit | ee190ca6516bc8257e3d36187ca6f0f71a9ec477 (patch) | |
tree | 5d8bd8ce094e7330ef51c159e9ceb03d91f3cdca /firmware | |
parent | 7b1cd95d65eb3b1e13f8a90eb757e0ea232c7899 (diff) | |
download | linux-ee190ca6516bc8257e3d36187ca6f0f71a9ec477.tar.bz2 |
fs/dax.c: release PMD lock even when there is no PMD support in DAX
follow_pte_pmd() can theoretically return after having acquired a PMD
lock, even when DAX was not compiled with CONFIG_FS_DAX_PMD.
Release the PMD lock unconditionally.
Link: http://lkml.kernel.org/r/20180118133839.20587-1-jschoenh@amazon.de
Fixes: f729c8c9b24f ("dax: wrprotect pmd_t in dax_mapping_entry_mkclean")
Signed-off-by: Jan H. Schönherr <jschoenh@amazon.de>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions