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

Commit 6a651471 authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman
Browse files

staging/lustre: Fix blank line after/before {/} style



This patch fixes all checkpatch occurences of
CHECK: Blank lines aren't necessary after an open brace '{'
CHECK: Blank lines aren't necessary before a close brace '}'
in Lustre code.

Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent abcdb1e4
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -95,7 +95,6 @@ static void fld_exit_request(struct client_obd *cli)
	spin_lock(&cli->cl_loi_list_lock);
	cli->cl_r_in_flight--;
	list_for_each_safe(l, tmp, &cli->cl_cache_waiters) {

		if (cli->cl_r_in_flight >= cli->cl_max_rpcs_in_flight) {
			/* No free request slots anymore */
			break;
+0 −1
Original line number Diff line number Diff line
@@ -198,7 +198,6 @@ typedef int (*lu_printer_t)(const struct lu_env *env,
 * Operations specific for particular lu_object.
 */
struct lu_object_operations {

	/**
	 * Allocate lower-layer parts of the object by calling
	 * lu_device_operations::ldo_object_alloc() of the corresponding
+0 −1
Original line number Diff line number Diff line
@@ -429,7 +429,6 @@ int client_obd_setup(struct obd_device *obddev, struct lustre_cfg *lcfg)
	ldlm_put_ref();
err:
	return rc;

}
EXPORT_SYMBOL(client_obd_setup);

+0 −1
Original line number Diff line number Diff line
@@ -810,7 +810,6 @@ void ldlm_lock_decref_internal(struct ldlm_lock *lock, __u32 mode)
	} else if (!lock->l_readers && !lock->l_writers &&
		   !(lock->l_flags & LDLM_FL_NO_LRU) &&
		   !(lock->l_flags & LDLM_FL_BL_AST)) {

		LDLM_DEBUG(lock, "add lock into lru list");

		/* If this is a client-side namespace and this was the last
+0 −1
Original line number Diff line number Diff line
@@ -1803,7 +1803,6 @@ static void ldlm_namespace_foreach(struct ldlm_namespace *ns,

	cfs_hash_for_each_nolock(ns->ns_rs_hash,
				 ldlm_res_iter_helper, &helper);

}

/* non-blocking function to manipulate a lock whose cb_data is being put away.
Loading