From 13aa02d4727baeff32ade087e7e0dbcc58c2079d Mon Sep 17 00:00:00 2001 From: shadow <shadow> Date: Mon, 18 Aug 2008 15:41:35 +0000 Subject: [PATCH] avoid messages about idr_remove called for id which is not allocated. Branch HEAD b=16583 i=zam i=panda --- lustre/ChangeLog | 7 +++++++ lustre/llite/llite_lib.c | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 7bf1c3d57d..f286dd9689 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -12,6 +12,13 @@ tbd Sun Microsystems, Inc. * RHEL 4 and RHEL 5/SLES 10 clients behaves differently on 'cd' to a removed cwd "./" (refer to Bugzilla 14399). +Severity : minor +Bugzilla : 16583 +Frequency : rare +Description: avoid messages about idr_remove called for id which is not allocated. +Details : Move assigment s_dev for clustered nfs to end of initialization, for avoid + problem with error handling. + Severity : minor Bugzilla : 16109 Frequency : rare diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 2fc698ccc5..df6a220c66 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -459,7 +459,6 @@ static int client_common_fill_super(struct super_block *sb, char *md, char *dt) } sbi->ll_sdev_orig = sb->s_dev; -#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0)) /* We set sb->s_dev equal on all lustre clients in order to support * NFS export clustering. NFSD requires that the FSID be the same * on all clients. */ @@ -469,7 +468,6 @@ static int client_common_fill_super(struct super_block *sb, char *md, char *dt) /* XXX: this will not work with LMV */ sb->s_dev = get_uuid2int(sbi2mdc(sbi)->cl_target_uuid.uuid, strlen(sbi2mdc(sbi)->cl_target_uuid.uuid)); -#endif obd = class_name2obd(dt); if (!obd) { -- GitLab