Whamcloud - gitweb
LU-14521 flr: delete mirror without volatile file
[fs/lustre-release.git] / lustre / lod / lod_lov.c
index de18c92..4376eaa 100644 (file)
@@ -958,7 +958,7 @@ repeat:
  * \retval                     0 if the index is present
  * \retval                     -EINVAL if not
  */
  * \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))) {
 {
        if (unlikely(idx >= md->lod_ost_descs.ltd_tgts_size ||
                     !test_bit(idx, md->lod_ost_bitmap))) {