mirror of https://gitee.com/openkylin/linux.git
staging/lustre/llite: Fix obd name after c&p error
commit 95745e9b1d
("staging: lustre: Use kasprintf.") introduced
a copy and paste error causing two different obd types to be assigned
same content causing lustre to fail on mount with a warning from procfs
followed by a bizzare error about OST not having enough MDS
capabilities.
This patch unbreaks Lustre client again.
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
CC: Navya Sri Nizamkari <navyasri.tech@gmail.com>
CC: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
91b3a68558
commit
ef2e1a4410
|
@ -983,7 +983,7 @@ int ll_fill_super(struct super_block *sb, struct vfsmount *mnt)
|
|||
goto out_free;
|
||||
}
|
||||
|
||||
md = kasprintf(GFP_NOFS, "%s-%p", lprof->lp_dt, cfg->cfg_instance);
|
||||
md = kasprintf(GFP_NOFS, "%s-%p", lprof->lp_md, cfg->cfg_instance);
|
||||
if (!md) {
|
||||
err = -ENOMEM;
|
||||
goto out_free;
|
||||
|
|
Loading…
Reference in New Issue