diff options
author | Matthew Wilcox <willy@infradead.org> | 2019-03-01 20:12:41 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-03-02 02:24:48 +0100 |
commit | e4b3448bc346fedf36db64124a664a959995b085 (patch) | |
tree | b87a9328845723417fb3fec53b6403945a6b8009 /lib/llist.c | |
parent | fs/dax: NIT fix comment regarding start/end vs range (diff) | |
download | linux-e4b3448bc346fedf36db64124a664a959995b085.tar.xz linux-e4b3448bc346fedf36db64124a664a959995b085.zip |
dax: Flush partial PMDs correctly
The radix tree would rewind the index in an iterator to the lowest index
of a multi-slot entry. The XArray iterators instead leave the index
unchanged, but I overlooked that when converting DAX from the radix tree
to the XArray. Adjust the index that we use for flushing to the start
of the PMD range.
Fixes: c1901cd33cf4 ("page cache: Convert find_get_entries_tag to XArray")
Cc: <stable@vger.kernel.org>
Reported-by: Piotr Balcer <piotr.balcer@intel.com>
Tested-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'lib/llist.c')
0 files changed, 0 insertions, 0 deletions