From: Sage Weil Date: Wed, 17 Feb 2010 18:43:37 +0000 (-0800) Subject: ceph: fix check for invalidate_mapping_pages success X-Git-Tag: v2.6.34-rc2~9^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ecad6fd7bfd30b3eaea51345f546b81de7a6473;p=pandora-kernel.git ceph: fix check for invalidate_mapping_pages success We need to know whether there was any page left behind, and not the return value (the total number of pages invalidated). Look at the mapping to see if we were successful or not. Move it all into a helper to simplify the two callers. Signed-off-by: Yehuda Sadeh Signed-off-by: Sage Weil --- Reading git-diff-tree failed