X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Flod%2Flod_lov.c;h=4376eaafb0300f1a7c913f187f18f2b068df7be5;hp=de18c921b457ecc97f79a1750870b3f0598bde60;hb=b2d73351e64677cb8ff650d92a8744634f73e0fd;hpb=dddd6021dad9d9944213cd2ef663084e36ab1526;ds=sidebyside diff --git a/lustre/lod/lod_lov.c b/lustre/lod/lod_lov.c index de18c92..4376eaa 100644 --- a/lustre/lod/lod_lov.c +++ b/lustre/lod/lod_lov.c @@ -958,7 +958,7 @@ repeat: * \retval 0 if the index is present * \retval -EINVAL if not */ -static int validate_lod_and_idx(struct lod_device *md, __u32 idx) +int validate_lod_and_idx(struct lod_device *md, __u32 idx) { if (unlikely(idx >= md->lod_ost_descs.ltd_tgts_size || !test_bit(idx, md->lod_ost_bitmap))) {