Whamcloud - gitweb
LU-5223 lmv: build master LMV EA dynamically build via readdir
[fs/lustre-release.git] / lustre / utils / liblustreapi.c
index f7f8e69..b4e7729 100644 (file)
@@ -3335,6 +3335,8 @@ static int cb_getstripe(char *path, DIR *parent, DIR **dirp, void *data,
 
                ret = ioctl(dirfd(parent), IOC_MDC_GETFILESTRIPE,
                            (void *)&param->lmd->lmd_lmm);
+       } else {
+               return 0;
        }
 
         if (ret) {