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

Commit 3126b4d1 authored by Masanari Iida's avatar Masanari Iida Committed by Greg Kroah-Hartman
Browse files

staging: lustre: Fix brace {} are not necessary for single statement blocks



This patch fixed "WARNING: braces {} are not necessary for
single statement blocks" in lustre/lustre/mgc_request.c

Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 37821997
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1090,18 +1090,18 @@ int mgc_set_info_async(const struct lu_env *env, struct obd_export *exp,
			return -EINVAL;

		rc = mgc_fs_setup(exp->exp_obd, sb);
		if (rc) {
		if (rc)
			CERROR("set_fs got %d\n", rc);
		}

		return rc;
	}
	if (KEY_IS(KEY_CLEAR_FS)) {
		if (vallen != 0)
			return -EINVAL;
		rc = mgc_fs_cleanup(exp->exp_obd);
		if (rc) {
		if (rc)
			CERROR("clear_fs got %d\n", rc);
		}

		return rc;
	}
	if (KEY_IS(KEY_SET_INFO)) {