The trailing newline on the thread name causes confusion with some
utilities that examine this string.
Signed-off-by: chas williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Change-Id: I031aafd2541b1829bc721ebcb9f52cb5e73101b3
Reviewed-on: http://review.whamcloud.com/5189
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
ENTRY;
- sprintf(pname, "osp-pre-%u\n", d->opd_index);
+ sprintf(pname, "osp-pre-%u", d->opd_index);
cfs_daemonize(pname);
rc = lu_env_init(&env, d->opd_dt_dev.dd_lu_dev.ld_type->ldt_ctx_tags);
RETURN(rc);
}
- sprintf(pname, "osp-syn-%u\n", d->opd_index);
+ sprintf(pname, "osp-syn-%u", d->opd_index);
cfs_daemonize(pname);
spin_lock(&d->opd_syn_lock);