From c1d8e63b13044981d93022b0b41d2406683e7455 Mon Sep 17 00:00:00 2001 From: adilger Date: Tue, 27 Sep 2005 00:11:34 +0000 Subject: [PATCH] Branch b1_4 Don't try to walk directory default EA with "lfs find --obd ...". Tested by HP. b=9382 --- lustre/utils/liblustreapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/utils/liblustreapi.c b/lustre/utils/liblustreapi.c index 7f0fc4e..c7ff755 100644 --- a/lustre/utils/liblustreapi.c +++ b/lustre/utils/liblustreapi.c @@ -309,7 +309,7 @@ void lov_dump_user_lmm_v1(struct lov_user_md_v1 *lum, char *dname, char *fname, { int i, obdstripe = 0; - if (obdindex != OBD_NOT_FOUND) { + if (*fname != '\0' && obdindex != OBD_NOT_FOUND) { for (i = 0; i < lum->lmm_stripe_count; i++) { if (obdindex == lum->lmm_objects[i].l_ost_idx) { printf("%s/%s\n", dname, fname); -- 1.8.3.1