ceph: only invalidate on check_caps if we actually have pages
authorSage Weil <sage@newdream.net>
Fri, 17 Sep 2010 15:38:25 +0000 (08:38 -0700)
committerSage Weil <sage@newdream.net>
Wed, 20 Oct 2010 22:38:15 +0000 (15:38 -0700)
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 <sage@newdream.net>

No differences found