Files
Matthew Wilcox 384f181152 dax: Check page->mapping isn't NULL
commit c93db7bb6e upstream.

If we race with inode destroy, it's possible for page->mapping to be
NULL before we even enter this routine, as well as after having slept
waiting for the dax entry to become unlocked.

Fixes: c2a7d2a115 ("filesystem-dax: Introduce dax_lock_mapping_entry()")
Cc: <stable@vger.kernel.org>
Reported-by: Jan Kara <jack@suse.cz>
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-17 09:24:41 +01:00
..
…
…
…
2018-11-13 11:08:46 -08:00
2018-08-21 23:54:17 -04:00
…
…
2018-12-05 19:32:11 +01:00
2018-11-13 11:08:39 -08:00
2018-12-17 09:24:41 +01:00
2018-08-17 16:20:28 -07:00
…
2018-08-17 16:20:27 -07:00
2018-12-17 09:24:41 +01:00
…
…
…
2018-12-17 09:24:33 +01:00
2018-07-03 16:44:45 -04:00
…
…
2018-12-17 09:24:41 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…