Commit 72a87fca authored by Oleg Drokin's avatar Oleg Drokin Committed by Greg Kroah-Hartman

staging/lustre: Remove stray space before newline in messages

There were some messages in Lustre that ended with a space followed by
a newline which is pointless, so remove the extra spaces.
Found with checkpatch.
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent defa220f
...@@ -307,7 +307,7 @@ static unsigned int loop_get_bio(struct lloop_device *lo, struct bio **req) ...@@ -307,7 +307,7 @@ static unsigned int loop_get_bio(struct lloop_device *lo, struct bio **req)
rw = first->bi_rw; rw = first->bi_rw;
bio = &lo->lo_bio; bio = &lo->lo_bio;
while (*bio && (*bio)->bi_rw == rw) { while (*bio && (*bio)->bi_rw == rw) {
CDEBUG(D_INFO, "bio sector %llu size %u count %u vcnt%u \n", CDEBUG(D_INFO, "bio sector %llu size %u count %u vcnt%u\n",
(unsigned long long)(*bio)->bi_iter.bi_sector, (unsigned long long)(*bio)->bi_iter.bi_sector,
(*bio)->bi_iter.bi_size, (*bio)->bi_iter.bi_size,
page_count, (*bio)->bi_vcnt); page_count, (*bio)->bi_vcnt);
......
...@@ -367,7 +367,7 @@ void ll_ra_stats_inc(struct address_space *mapping, enum ra_stat which) ...@@ -367,7 +367,7 @@ void ll_ra_stats_inc(struct address_space *mapping, enum ra_stat which)
#define RAS_CDEBUG(ras) \ #define RAS_CDEBUG(ras) \
CDEBUG(D_READA, \ CDEBUG(D_READA, \
"lrp %lu cr %lu cp %lu ws %lu wl %lu nra %lu r %lu ri %lu" \ "lrp %lu cr %lu cp %lu ws %lu wl %lu nra %lu r %lu ri %lu" \
"csr %lu sf %lu sp %lu sl %lu \n", \ "csr %lu sf %lu sp %lu sl %lu\n", \
ras->ras_last_readpage, ras->ras_consecutive_requests, \ ras->ras_last_readpage, ras->ras_consecutive_requests, \
ras->ras_consecutive_pages, ras->ras_window_start, \ ras->ras_consecutive_pages, ras->ras_window_start, \
ras->ras_window_len, ras->ras_next_readahead, \ ras->ras_window_len, ras->ras_next_readahead, \
...@@ -575,7 +575,7 @@ stride_pg_count(pgoff_t st_off, unsigned long st_len, unsigned long st_pgs, ...@@ -575,7 +575,7 @@ stride_pg_count(pgoff_t st_off, unsigned long st_len, unsigned long st_pgs,
if (end_left > st_pgs) if (end_left > st_pgs)
end_left = st_pgs; end_left = st_pgs;
CDEBUG(D_READA, "start %llu, end %llu start_left %lu end_left %lu \n", CDEBUG(D_READA, "start %llu, end %llu start_left %lu end_left %lu\n",
start, end, start_left, end_left); start, end, start_left, end_left);
if (start == end) if (start == end)
...@@ -655,7 +655,7 @@ static int ll_read_ahead_pages(const struct lu_env *env, ...@@ -655,7 +655,7 @@ static int ll_read_ahead_pages(const struct lu_env *env,
offset = offset % (ria->ria_length); offset = offset % (ria->ria_length);
if (offset > ria->ria_pages) { if (offset > ria->ria_pages) {
page_idx += ria->ria_length - offset; page_idx += ria->ria_length - offset;
CDEBUG(D_READA, "i %lu skip %lu \n", page_idx, CDEBUG(D_READA, "i %lu skip %lu\n", page_idx,
ria->ria_length - offset); ria->ria_length - offset);
continue; continue;
} }
...@@ -785,7 +785,7 @@ int ll_readahead(const struct lu_env *env, struct cl_io *io, ...@@ -785,7 +785,7 @@ int ll_readahead(const struct lu_env *env, struct cl_io *io,
* if the region we failed to issue read-ahead on is still ahead * if the region we failed to issue read-ahead on is still ahead
* of the app and behind the next index to start read-ahead from * of the app and behind the next index to start read-ahead from
*/ */
CDEBUG(D_READA, "ra_end %lu end %lu stride end %lu \n", CDEBUG(D_READA, "ra_end %lu end %lu stride end %lu\n",
ra_end, end, ria->ria_end); ra_end, end, ria->ria_end);
if (ra_end != end + 1) { if (ra_end != end + 1) {
......
...@@ -185,7 +185,7 @@ int lov_packmd(struct obd_export *exp, struct lov_mds_md **lmmp, ...@@ -185,7 +185,7 @@ int lov_packmd(struct obd_export *exp, struct lov_mds_md **lmmp,
return -ENOMEM; return -ENOMEM;
} }
CDEBUG(D_INFO, "lov_packmd: LOV_MAGIC 0x%08X, lmm_size = %d \n", CDEBUG(D_INFO, "lov_packmd: LOV_MAGIC 0x%08X, lmm_size = %d\n",
lmm_magic, lmm_size); lmm_magic, lmm_size);
lmmv1 = *lmmp; lmmv1 = *lmmp;
......
...@@ -1453,7 +1453,7 @@ int cl_wait(const struct lu_env *env, struct cl_lock *lock) ...@@ -1453,7 +1453,7 @@ int cl_wait(const struct lu_env *env, struct cl_lock *lock)
LINVRNT(cl_lock_invariant(env, lock)); LINVRNT(cl_lock_invariant(env, lock));
LASSERTF(lock->cll_state == CLS_ENQUEUED || lock->cll_state == CLS_HELD, LASSERTF(lock->cll_state == CLS_ENQUEUED || lock->cll_state == CLS_HELD,
"Wrong state %d \n", lock->cll_state); "Wrong state %d\n", lock->cll_state);
LASSERT(lock->cll_holds > 0); LASSERT(lock->cll_holds > 0);
do { do {
......
...@@ -843,7 +843,7 @@ void osc_update_next_shrink(struct client_obd *cli) ...@@ -843,7 +843,7 @@ void osc_update_next_shrink(struct client_obd *cli)
{ {
cli->cl_next_shrink_grant = cli->cl_next_shrink_grant =
cfs_time_shift(cli->cl_grant_shrink_interval); cfs_time_shift(cli->cl_grant_shrink_interval);
CDEBUG(D_CACHE, "next time %ld to shrink grant \n", CDEBUG(D_CACHE, "next time %ld to shrink grant\n",
cli->cl_next_shrink_grant); cli->cl_next_shrink_grant);
} }
...@@ -1014,7 +1014,7 @@ static int osc_add_shrink_grant(struct client_obd *client) ...@@ -1014,7 +1014,7 @@ static int osc_add_shrink_grant(struct client_obd *client)
client->cl_import->imp_obd->obd_name, rc); client->cl_import->imp_obd->obd_name, rc);
return rc; return rc;
} }
CDEBUG(D_CACHE, "add grant client %s \n", CDEBUG(D_CACHE, "add grant client %s\n",
client->cl_import->imp_obd->obd_name); client->cl_import->imp_obd->obd_name);
osc_update_next_shrink(client); osc_update_next_shrink(client);
return 0; return 0;
......
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