From: Pavel Shilovsky Date: Tue, 15 Mar 2011 22:55:32 +0000 (+0300) Subject: CIFS: Use invalidate_inode_pages2 instead of invalidate_remote_inode (try #4) X-Git-Tag: v3.0-rc1~380^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=257fb1f15d72f89dad2d72fa467c189f2d7fdd71;p=pandora-kernel.git CIFS: Use invalidate_inode_pages2 instead of invalidate_remote_inode (try #4) Use invalidate_inode_pages2 that don't leave pages even if shrink_page_list() has a temp ref on them. It prevents a data coherency problem when cifs_invalidate_mapping didn't invalidate pages but the client thinks that a data from the cache is uptodate according to an oplock level (exclusive or II). Signed-off-by: Pavel Shilovsky Signed-off-by: Steve French --- Reading git-diff-tree failed