From: Sage Weil Date: Mon, 14 May 2012 19:34:50 +0000 (-0700) Subject: ceph: ignore preferred_osd field X-Git-Tag: v3.5-rc1~36^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c047be09349752b8a4dac27bc9f130bf4d592f11;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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: Sage Weil Reviewed-by: Alex Elder --- diff --git a/fs/ceph/ioctl.c b/fs/ceph/ioctl.c index c0b7314..8e3fb69 100644 --- a/fs/ceph/ioctl.c +++ b/fs/ceph/ioctl.c @@ -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) ||