summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-05-14 12:34:50 -0700
committerAlex Elder <elder@dreamhost.com>2012-05-16 14:28:28 -0500
commitc047be09349752b8a4dac27bc9f130bf4d592f11 (patch)
tree4303e2a712387350031aa9eb91a9ce8f54aef811 /fs/ceph
parent702aeb1f88e707241d76e1e2a1a02dd81e6c2d77 (diff)
downloadop-kernel-dev-c047be09349752b8a4dac27bc9f130bf4d592f11.zip
op-kernel-dev-c047be09349752b8a4dac27bc9f130bf4d592f11.tar.gz
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 <sage@inktank.com> Reviewed-by: Alex Elder <elder@inktank.com>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/ioctl.c4
1 files changed, 0 insertions, 4 deletions
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) ||
OpenPOWER on IntegriCloud