aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/ceph/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/ioctl.c b/fs/ceph/ioctl.c
index d7dc812a2249..f851d8d70158 100644
--- a/fs/ceph/ioctl.c
+++ b/fs/ceph/ioctl.c
@@ -41,7 +41,7 @@ static long __validate_layout(struct ceph_mds_client *mdsc,
41 /* validate striping parameters */ 41 /* validate striping parameters */
42 if ((l->object_size & ~PAGE_MASK) || 42 if ((l->object_size & ~PAGE_MASK) ||
43 (l->stripe_unit & ~PAGE_MASK) || 43 (l->stripe_unit & ~PAGE_MASK) ||
44 (l->stripe_unit != 0 && 44 ((unsigned)l->stripe_unit != 0 &&
45 ((unsigned)l->object_size % (unsigned)l->stripe_unit))) 45 ((unsigned)l->object_size % (unsigned)l->stripe_unit)))
46 return -EINVAL; 46 return -EINVAL;
47 47