From 02999366568f1f22a0098a677bfbde2d5df4bfc1 Mon Sep 17 00:00:00 2001 From: green Date: Thu, 13 Nov 2008 02:16:08 +0000 Subject: [PATCH] b=16823 r=adilger,shadow Remove 4G limit for stripe_size * num_stripes. 4G limit on stripe_size is still in place, though. --- lustre/lov/lov_pack.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lustre/lov/lov_pack.c b/lustre/lov/lov_pack.c index fdbcc94..6dcdd3a 100644 --- a/lustre/lov/lov_pack.c +++ b/lustre/lov/lov_pack.c @@ -500,13 +500,6 @@ int lov_setstripe(struct obd_export *exp, struct lov_stripe_md **lsmp, } - if ((__u64)lumv1->lmm_stripe_size * stripe_count > ~0U) { - CDEBUG(D_IOCTL, "stripe width %ux%u exceeds %u bytes\n", - lumv1->lmm_stripe_size, (int)lumv1->lmm_stripe_count, - ~0U); - RETURN(-EINVAL); - } - rc = lov_alloc_memmd(lsmp, stripe_count, lumv1->lmm_pattern, lmm_magic); if (rc < 0) -- 1.8.3.1