From f2ac46458c795f7a11751f3b358d4ec18e1eab35 Mon Sep 17 00:00:00 2001 From: shadow Date: Tue, 22 Apr 2008 11:39:53 +0000 Subject: [PATCH] not swab ost objects for directory because it's not exist. b=14856 i=green i=johan --- lustre/ChangeLog | 6 ++++++ lustre/llite/dir.c | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 2941546..023f778 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -19,6 +19,12 @@ tbd Sun Microsystems, Inc. removed cwd "./" (refer to Bugzilla 14399). Severity : minor +Bugzilla : 14856 +Frequency : on ppc only +Description: not convert ost objects for directory because it's not exist. +Details : ll_dir_getstripe assume dirrectory has ost objects but this wrong. + +Severity : minor Bugzilla : 15517 Description: Fix warnings with compile liblustre at sles10/rhel5 which have __u64 as usingied long long type. diff --git a/lustre/llite/dir.c b/lustre/llite/dir.c index c05255d..5b9955e 100644 --- a/lustre/llite/dir.c +++ b/lustre/llite/dir.c @@ -617,7 +617,6 @@ int ll_dir_getstripe(struct inode *inode, struct lov_mds_md **lmmp, */ if (lmm->lmm_magic == __swab32(LOV_MAGIC)) { lustre_swab_lov_user_md((struct lov_user_md *)lmm); - lustre_swab_lov_user_md_objects((struct lov_user_md *)lmm); } out: *lmmp = lmm; -- 1.8.3.1