diff options
author | Milosz Tanski <milosz@adfin.com> | 2013-08-09 12:59:55 -0400 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-08-15 11:12:02 -0700 |
commit | b150f5c1c759d551da9146435d3dc9df5f7e15ef (patch) | |
tree | 1b8ec894d8997a741012600f39b3805a3b73a6dc /fs/ceph/file.c | |
parent | ee3e542fec6e69bc9fb668698889a37d93950ddf (diff) | |
download | op-kernel-dev-b150f5c1c759d551da9146435d3dc9df5f7e15ef.zip op-kernel-dev-b150f5c1c759d551da9146435d3dc9df5f7e15ef.tar.gz |
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>
Diffstat (limited to 'fs/ceph/file.c')
0 files changed, 0 insertions, 0 deletions