Skip to content
Snippets Groups Projects
Commit e95df92a authored by Alexey Lyashkov's avatar Alexey Lyashkov
Browse files

avoid messages about idr_remove called for id which is not allocated.

Branch b1_6
b=16583
i=zam
i=panda
parent 10e34072
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,20 @@ tbd Sun Microsystems, Inc.
* Output of lfs quota has been made less detailed by default,
old (verbose) output can be obtained by using -v option.
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 : 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
......
......@@ -286,14 +286,6 @@ static int client_common_fill_super(struct super_block *sb,
if (data->ocd_connect_flags & OBD_CONNECT_JOIN)
sbi->ll_flags |= LL_SBI_JOIN;
sbi->ll_sdev_orig = sb->s_dev;
/* 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. */
/* s_dev is also used in lt_compare() to compare two fs, but that is
* only a node-local comparison. */
sb->s_dev = get_uuid2int(sbi2mdc(sbi)->cl_target_uuid.uuid,
strlen(sbi2mdc(sbi)->cl_target_uuid.uuid));
obd = class_name2obd(osc);
if (!obd) {
CERROR("OSC %s: not setup or attached\n", osc);
......@@ -453,6 +445,16 @@ static int client_common_fill_super(struct super_block *sb,
if (data != NULL)
OBD_FREE(data, sizeof(*data));
sb->s_root->d_op = &ll_d_root_ops;
sbi->ll_sdev_orig = sb->s_dev;
/* 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. */
/* s_dev is also used in lt_compare() to compare two fs, but that is
* only a node-local comparison. */
sb->s_dev = get_uuid2int(sbi2mdc(sbi)->cl_target_uuid.uuid,
strlen(sbi2mdc(sbi)->cl_target_uuid.uuid));
RETURN(err);
out_root:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment