linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] BLOCK: blk-flush: fixed line with more than 80 character
@ 2017-12-20 17:05 Khan M Rashedun-Naby
  0 siblings, 0 replies; only message in thread
From: Khan M Rashedun-Naby @ 2017-12-20 17:05 UTC (permalink / raw)
  To: axboe; +Cc: linux-block, linux-kernel, Khan M Rashedun-Naby

The line has more than 80 character which is not linux kernel coding
style. Thus it has rewritten into two lines.

Signed-off-by: Khan M Rashedun-Naby <naby88@gmail.com>
---
 block/blk-flush.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/block/blk-flush.c b/block/blk-flush.c
index f171706..7ab46bb 100644
--- a/block/blk-flush.c
+++ b/block/blk-flush.c
@@ -299,7 +299,8 @@ static bool blk_kick_flush(struct request_queue *q, struct blk_flush_queue *fq)
 	struct request *flush_rq = fq->flush_rq;
 
 	/* C1 described at the top of this file */
-	if (fq->flush_pending_idx != fq->flush_running_idx || list_empty(pending))
+	if (fq->flush_pending_idx != fq->flush_running_idx ||
+		list_empty(pending))
 		return false;
 
 	/* C2 and C3
-- 
2.7.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-20 17:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-20 17:05 [PATCH] BLOCK: blk-flush: fixed line with more than 80 character Khan M Rashedun-Naby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).