Commit e6157b1b authored by Redha Gouicem's avatar Redha Gouicem Committed by Greg Kroah-Hartman

Staging: lustre: lnet: lnet: router.c: fix 80 char line limit

This patch fixes lines longer than the 80 char limit.
Signed-off-by: default avatarRedha Gouicem <redha.gouicem@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent acf60c3d
...@@ -107,7 +107,8 @@ lnet_peers_start_down(void) ...@@ -107,7 +107,8 @@ lnet_peers_start_down(void)
} }
void void
lnet_notify_locked(lnet_peer_t *lp, int notifylnd, int alive, unsigned long when) lnet_notify_locked(lnet_peer_t *lp, int notifylnd, int alive,
unsigned long when)
{ {
if (time_before(when, lp->lp_timestamp)) { /* out of date information */ if (time_before(when, lp->lp_timestamp)) { /* out of date information */
CDEBUG(D_NET, "Out of date\n"); CDEBUG(D_NET, "Out of date\n");
...@@ -1435,7 +1436,7 @@ int ...@@ -1435,7 +1436,7 @@ int
lnet_rtrpools_alloc(int im_a_router) lnet_rtrpools_alloc(int im_a_router)
{ {
lnet_rtrbufpool_t *rtrp; lnet_rtrbufpool_t *rtrp;
int large_pages = (LNET_MTU + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; int large_pages;
int small_pages = 1; int small_pages = 1;
int nrb_tiny; int nrb_tiny;
int nrb_small; int nrb_small;
...@@ -1443,6 +1444,8 @@ lnet_rtrpools_alloc(int im_a_router) ...@@ -1443,6 +1444,8 @@ lnet_rtrpools_alloc(int im_a_router)
int rc; int rc;
int i; int i;
large_pages = (LNET_MTU + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT;
if (!strcmp(forwarding, "")) { if (!strcmp(forwarding, "")) {
/* not set either way */ /* not set either way */
if (!im_a_router) if (!im_a_router)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment