From: Sage Weil Date: Fri, 17 Sep 2010 15:38:25 +0000 (-0700) Subject: ceph: only invalidate on check_caps if we actually have pages X-Git-Tag: v2.6.37-rc1~221^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93afd449aa3c0430ef409c13e1cb2b3f0458fc10;p=pandora-kernel.git ceph: only invalidate on check_caps if we actually have pages The i_rdcache_gen value only implies we MAY have cached pages; actually check the mapping to see if it's worth bothering with an invalidate. Signed-off-by: Sage Weil --- Reading git-diff-tree failed