Skip to content
Snippets Groups Projects
Commit 7d5f9f95 authored by Miklos Szeredi's avatar Miklos Szeredi Committed by Tomeu Vizoso
Browse files

fuse: don't check refcount after stealing page


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: default avatarMatthew Wilcox <willy@infradead.org>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 72c71463
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment