Skip to content
Commit 08bc0353 authored by Jeff Layton's avatar Jeff Layton Committed by Steve French
Browse files

cifs: revalidate mapping prior to satisfying read_iter request with cache=loose



Before satisfying a read with cache=loose, we should always check
that the pagecache is valid before allowing a read to be satisfied
out of it.

Reported-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: default avatarJeff Layton <jlayton@poochiereds.net>
Signed-off-by: default avatarSteve French <smfrench@gmail.com>
parent a1d0b84c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment