提交 c047be09 编写于 作者: S Sage Weil 提交者: Alex Elder

ceph: ignore preferred_osd field

Old users may not expect EINVAL, and there is no clear user-visibile
behavior change now that we ignore it.
Signed-off-by: NSage Weil <sage@inktank.com>
Reviewed-by: NAlex Elder <elder@inktank.com>
上级 702aeb1f
......@@ -39,10 +39,6 @@ static long __validate_layout(struct ceph_mds_client *mdsc,
{
int i, err;
/* preferred_osd is no longer supported */
if (l->preferred_osd != -1)
return -EINVAL;
/* validate striping parameters */
if ((l->object_size & ~PAGE_MASK) ||
(l->stripe_unit & ~PAGE_MASK) ||
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册