]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: revalidate mapping prior to satisfying read_iter request with cache=loose
authorJeff Layton <jlayton@poochiereds.net>
Fri, 23 May 2014 10:50:21 +0000 (06:50 -0400)
committerSteve French <smfrench@gmail.com>
Thu, 19 Jun 2014 18:34:04 +0000 (13:34 -0500)
commitb380007e4258457bde9dba37aa4bbfc8b349fd92
tree8ccfdec6410f15e33ed4e42b748ed773aaa55632
parent31431c03799b7fe28043f97f5d4cdca9b81f9ee8
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: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Jeff Layton <jlayton@poochiereds.net>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsfs.c