osd: fix zap

Fixes: #4629
Signed-off-by: Sage Weil <sage@inktank.com>