From 9a7ce452f70b047399dddd43397f32596acf0859 Mon Sep 17 00:00:00 2001 From: adilger Date: Mon, 26 May 2008 20:06:39 +0000 Subject: [PATCH] Branch HEAD Add clarifying comment. --- lustre/lov/lov_pack.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lustre/lov/lov_pack.c b/lustre/lov/lov_pack.c index 5f14160..0f0ff06 100644 --- a/lustre/lov/lov_pack.c +++ b/lustre/lov/lov_pack.c @@ -108,6 +108,8 @@ int lov_packmd(struct obd_export *exp, struct lov_mds_md **lmmp, lsm->lsm_magic, LOV_MAGIC); RETURN(-EINVAL); } + /* If we are just sizing the EA, limit the stripe count + * to the actual number of OSTs in this filesystem. */ if (!lmmp) { stripe_count = lov_get_stripecnt(lov, lsm->lsm_stripe_count); lsm->lsm_stripe_count = stripe_count; -- 1.8.3.1