Skip to content
Commit b150f5c1 authored by Milosz Tanski's avatar Milosz Tanski Committed by Sage Weil
Browse files

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: default avatarMilosz Tanski <milosz@adfin.com>
Reviewed-by: default avatarSage Weil <sage@inktank.com>
parent ee3e542f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment