projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
702aeb1
)
ceph: ignore preferred_osd field
author
Sage Weil
<sage@inktank.com>
Mon, 14 May 2012 19:34:50 +0000
(12:34 -0700)
committer
Alex Elder
<elder@dreamhost.com>
Wed, 16 May 2012 19:28:28 +0000
(14:28 -0500)
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>
fs/ceph/ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/ioctl.c
b/fs/ceph/ioctl.c
index c0b7314b90f9f0ffde96281def0c4afe5749a10b..8e3fb69fbe62e60cd3698c07d9fa8e53d6d2b184 100644
(file)
--- 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) ||