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

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

staging: lustre: Fix typo in lustre/ptlrpc



This patch fixed spelling typo in lustre/ptlrpc.

Signed-off-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fb4b81fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -545,7 +545,7 @@ int ptlrpc_ni_init(void)
	 * different depending on... */
	/* kernel LNet calls our master callback when there are new event,
	 * because we are guaranteed to get every event via callback,
	 * so we just set EQ size to 0 to avoid overhread of serializing
	 * so we just set EQ size to 0 to avoid overhead of serializing
	 * enqueue/dequeue operations in LNet. */
	rc = LNetEQAlloc(0, ptlrpc_master_callback, &ptlrpc_eq_h);
	if (rc == 0)
+2 −2
Original line number Diff line number Diff line
@@ -1042,7 +1042,7 @@ static int ptlrpc_connect_interpret(const struct lu_env *env,
			if ((ocd->ocd_cksum_types &
			     cksum_types_supported_client()) == 0) {
				LCONSOLE_WARN("The negotiation of the checksum "
					      "alogrithm to use with server %s "
					      "algorithm to use with server %s "
					      "failed (%x/%x), disabling "
					      "checksums\n",
					      obd2cli_tgt(imp->imp_obd),
@@ -1260,7 +1260,7 @@ static int ptlrpc_invalidate_import_thread(void *data)
/**
 * This is the state machine for client-side recovery on import.
 *
 * Typicaly we have two possibly paths. If we came to server and it is not
 * Typically we have two possibly paths. If we came to server and it is not
 * in recovery, we just enter IMP_EVICTED state, invalidate our import
 * state and reconnect from scratch.
 * If we came to server that is in recovery, we enter IMP_REPLAY import state.
+1 −1
Original line number Diff line number Diff line
@@ -2154,7 +2154,7 @@ EXPORT_SYMBOL(req_capsule_server_sized_swab_get);
 * request (if the caller is executing on the server-side) or reply (if the
 * caller is executing on the client-side).
 *
 * This function convienient for use is code that could be executed on the
 * This function convenient for use is code that could be executed on the
 * client and server alike.
 */
const void *req_capsule_other_get(struct req_capsule *pill,
+2 −2
Original line number Diff line number Diff line
@@ -616,7 +616,7 @@ static int ptlrpc_lprocfs_nrs_seq_show(struct seq_file *m, void *n)
}

/**
 * The longest valid command string is the maxium policy name size, plus the
 * The longest valid command string is the maximum policy name size, plus the
 * length of the " reg" substring
 */
#define LPROCFS_NRS_WR_MAX_CMD	(NRS_POL_NAME_MAX + sizeof(" reg") - 1)
@@ -1184,7 +1184,7 @@ int lprocfs_wr_evict_client(struct file *file, const char *buffer,
	}
	tmpbuf = cfs_firststr(kbuf, min_t(unsigned long, BUFLEN - 1, count));
	/* Kludge code(deadlock situation): the lprocfs lock has been held
	 * since the client is evicted by writting client's
	 * since the client is evicted by writing client's
	 * uuid/nid to procfs "evict_client" entry. However,
	 * obd_export_evict_by_uuid() will call lprocfs_remove() to destroy
	 * the proc entries under the being destroyed export{}, so I have
+2 −2
Original line number Diff line number Diff line
@@ -349,7 +349,7 @@ static void ptlrpc_at_set_reply(struct ptlrpc_request *req, int flags)
/**
 * Send request reply from request \a req reply buffer.
 * \a flags defines reply types
 * Returns 0 on sucess or error code
 * Returns 0 on success or error code
 */
int ptlrpc_send_reply(struct ptlrpc_request *req, int flags)
{
@@ -389,7 +389,7 @@ int ptlrpc_send_reply(struct ptlrpc_request *req, int flags)
	 * ptlrpc_body in reply buffer to ptlrpc_body_v2, otherwise, the
	 * reply buffer on client will be overflow.
	 *
	 * XXX Remove this whenver we drop the interoprability with such client.
	 * XXX Remove this whenever we drop the interoprability with such client.
	 */
	req->rq_replen = lustre_shrink_msg(req->rq_repmsg, 0,
					   sizeof(struct ptlrpc_body_v2), 1);
Loading