From b2464ef54e1a5dab8759d3ec7669e7bc05a13815 Mon Sep 17 00:00:00 2001 From: yury Date: Thu, 24 Aug 2006 15:27:24 +0000 Subject: [PATCH] - add libiam.a (if exists) to rpm, this is neededfor testing our branch; - replace all memcmp of fids by lu_fid_eq; - allocate new fid for create case in ll_revalidate_it() in case of doing "goto do_lookup"; - removed needless lmv_fld_lookup() in lmv; - fixed lmv_obj refcount management in error cases; - comments are adjusted to be coherent with 80 columns style. --- build/autoconf/lustre-build.m4 | 6 ++++++ build/lustre.spec.in | 1 + 2 files changed, 7 insertions(+) diff --git a/build/autoconf/lustre-build.m4 b/build/autoconf/lustre-build.m4 index a88f0f1..c4c2365 100644 --- a/build/autoconf/lustre-build.m4 +++ b/build/autoconf/lustre-build.m4 @@ -464,6 +464,12 @@ fi AC_SUBST(LIBSYSIO_SUBDIR) AC_SUBST(SYSIO) +RPM_LIBIAM_PATH="" +if test -f lustre/utils/libiam.c; then + RPM_LIBIAM_PATH="%attr(-, root, root) %{_libdir}/libiam.a" +fi +AC_SUBST(RPM_LIBIAM_PATH) + LB_LINUX_CONDITIONALS LB_DARWIN_CONDITIONALS diff --git a/build/lustre.spec.in b/build/lustre.spec.in index 3345eac..c0dee17 100644 --- a/build/lustre.spec.in +++ b/build/lustre.spec.in @@ -113,6 +113,7 @@ cat >lustre.files <