ceph: remove bogus invalidate_mapping_pages
authorSage Weil <sage@newdream.net>
Wed, 10 Feb 2010 00:43:11 +0000 (16:43 -0800)
committerSage Weil <sage@newdream.net>
Thu, 11 Feb 2010 19:48:55 +0000 (11:48 -0800)
commit8031049147c58d9d8b6226c3ac31a9d72d053e25
treed89aec0fc9dcae6ea20fe0665b7700911c2dbf61
parent0840d8af3e6e40bcd5f2366698eb2755f88acfea
ceph: remove bogus invalidate_mapping_pages

We were invalidating mapping pages when dropping FILE_CACHE in
__send_cap().  But ceph_check_caps attempts to invalidate already, and
also checks for success, so we should never get to this point.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/caps.c