Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f9bc53f authored by Pan Bian's avatar Pan Bian Committed by Greg Kroah-Hartman
Browse files

staging: lustre: lnet: fix improper return value

At the end of function lstcon_group_info(), "return 0" seems improper.
It may be better to return the value of rc.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188811



Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
Acked-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 17037fbd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -823,7 +823,7 @@ lstcon_group_info(char *name, lstcon_ndlist_ent_t __user *gents_p,

	lstcon_group_decref(grp);

	return 0;
	return rc;
}

static int