CIFS: Implement cifs_file_strict_mmap (try #2)
authorPavel Shilovsky <piastryyy@gmail.com>
Tue, 14 Dec 2010 08:29:51 +0000 (11:29 +0300)
committerSteve French <sfrench@us.ibm.com>
Thu, 20 Jan 2011 21:42:25 +0000 (21:42 +0000)
commit7a6a19b17ab9103ec708c18befd28f2a3908d4c1
tree3b781bf11b2a25c93ce20dbd80876e7e01c730e6
parent8be7e6ba142423e6ad98fed293c96f196f685229
CIFS: Implement cifs_file_strict_mmap (try #2)

Invalidate inode mapping if we don't have at least Level II oplock.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c
fs/cifs/cifsfs.h
fs/cifs/file.c