summaryrefslogtreecommitdiff
path: root/fs/ceph/addr.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-02-17 10:43:37 -0800
committerSage Weil <sage@newdream.net>2010-02-19 14:33:18 -0800
commit5ecad6fd7bfd30b3eaea51345f546b81de7a6473 (patch)
tree98447fd009cc03e5125ffc51b4caac07123e0f70 /fs/ceph/addr.c
parent2c27c9a57c93a0757b9b4b0e7dc1abeaf1db1ce2 (diff)
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 <yehuda@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/addr.c')
0 files changed, 0 insertions, 0 deletions