lkml.org 
[lkml]   [2017]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] BLOCK: blk-flush: fixed line with more than 80 character
Date
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
\
 
 \ /
  Last update: 2017-12-20 18:07    [W:0.020 / U:1.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site