Miklos Szeredi 3a9677b791 fuse: don't check refcount after stealing page
[ Upstream commit 32f98877c57bee6bc27f443a96f49678a2cd6a50 ]

page_count() is unstable.  Unless there has been an RCU grace period
between when the page was removed from the page cache and now, a
speculative reference may exist from the page cache.

Reported-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 20:40:13 +02:00
..
2016-10-01 07:32:32 +02:00
2019-10-17 13:42:12 -07:00
2019-12-21 10:41:30 +01:00
2019-12-21 10:41:30 +01:00
2018-09-05 09:20:08 +02:00
2016-10-01 07:32:32 +02:00
2016-10-01 07:32:32 +02:00
2016-10-03 11:06:05 +02:00