diff mbox series

[290/622] lustre: ptlrpc: Fix style issues for sec_gc.c

Message ID 1582838290-17243-291-git-send-email-jsimmons@infradead.org (mailing list archive)
State New, archived
Headers show
Series lustre: sync closely to 2.13.52 | expand

Commit Message

James Simmons Feb. 27, 2020, 9:12 p.m. UTC
From: Arshad Hussain <arshad.super@gmail.com>

This patch fixes issues reported by checkpatch for
file fs/lustre/ptlrpc/sec_gc.c

WC-bug-id: https://jira.whamcloud.com/browse/LU-6142
Lustre-commit: 930d88e71d16 ("LU-6142 ptlrpc: Fix style issues for sec_gc.c")
Signed-off-by: Arshad Hussain <arshad.super@gmail.com>
Reviewed-on: https://review.whamcloud.com/34551
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
 fs/lustre/ptlrpc/sec_gc.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
diff mbox series


diff --git a/fs/lustre/ptlrpc/sec_gc.c b/fs/lustre/ptlrpc/sec_gc.c
index 3baed8c..36ac319 100644
--- a/fs/lustre/ptlrpc/sec_gc.c
+++ b/fs/lustre/ptlrpc/sec_gc.c
@@ -147,7 +147,8 @@  static void sec_gc_main(struct work_struct *ws)
-	/* go through sec list do gc.
+	/*
+	 * go through sec list do gc.
 	 * FIXME here we iterate through the whole list each time which
 	 * is not optimal. we perhaps want to use balanced binary tree
 	 * to trace each sec as order of expiry time.
@@ -156,7 +157,8 @@  static void sec_gc_main(struct work_struct *ws)
 	list_for_each_entry(sec, &sec_gc_list, ps_gc_list) {
-		/* if someone is waiting to be deleted, let it
+		/*
+		 * if someone is waiting to be deleted, let it
 		 * proceed as soon as possible.
 		if (atomic_read(&sec_gc_wait_del)) {