commit | b150f5c1c759d551da9146435d3dc9df5f7e15ef | [log] [tgz] |
---|---|---|
author | Milosz Tanski <milosz@adfin.com> | Fri Aug 09 12:59:55 2013 -0400 |
committer | Sage Weil <sage@inktank.com> | Thu Aug 15 11:12:02 2013 -0700 |
tree | 1b8ec894d8997a741012600f39b3805a3b73a6dc | |
parent | ee3e542fec6e69bc9fb668698889a37d93950ddf [diff] |
ceph: cleanup the logic in ceph_invalidatepage The invalidatepage code bails if it encounters a non-zero page offset. The current logic that does is non-obvious with multiple if statements. This should be logically and functionally equivalent. Signed-off-by: Milosz Tanski <milosz@adfin.com> Reviewed-by: Sage Weil <sage@inktank.com>