CIFS: Add launder_page operation (try #3)
authorPavel Shilovsky <piastry@etersoft.ru>
Fri, 8 Apr 2011 01:29:10 +0000 (05:29 +0400)
committerSteve French <sfrench@us.ibm.com>
Thu, 19 May 2011 14:10:50 +0000 (14:10 +0000)
commit9ad1506b42c828dff0b9d8f3914e1f837734e91c
tree6108ad6564b013a978a717f52b06d5fff4d3ff0e
parent1cb06d0b50536af177b2f2f7cab25546f3731d3e
CIFS: Add launder_page operation (try #3)

Add this let us drop filemap_write_and_wait from cifs_invalidate_mapping
and simplify the code to properly process invalidate logic.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/file.c