Merge pull request #13061 from guzhongyan/fix_typo

osd: fix typo in comment

Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2017-04-27 00:26:01 +08:00 committed by GitHub
commit e6d1d9a798

View File

@ -9226,7 +9226,7 @@ int OSD::init_op_flags(OpRequestRef& op)
derr << "class " << cname << " open got " << cpp_strerror(r) << dendl;
if (r == -ENOENT)
r = -EOPNOTSUPP;
else if (r != -EPERM) // propgate permission errors
else if (r != -EPERM) // propagate permission errors
r = -EIO;
return r;
}