Thread (2 messages) 2 messages, 2 authors, 2021-02-24

Re: [PATCH] btrfs: Fixed a brace coding style issue

From: David Sterba <hidden>
Date: 2021-02-24 19:16:58
Also in: lkml

On Mon, Feb 15, 2021 at 08:38:20PM +0530, Maheep Kumar Kathuria wrote:
quoted hunk ↗ jump to hunk
Fixed a coding style issue in thresh_exec_hook()

Signed-off-by: Maheep Kumar Kathuria <redacted>
---
 fs/btrfs/async-thread.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c
index 309516e6a968..38abeff7af69 100644
--- a/fs/btrfs/async-thread.c
+++ b/fs/btrfs/async-thread.c
@@ -212,9 +212,8 @@ static inline void thresh_exec_hook(struct __btrfs_workqueue *wq)
 out:
 	spin_unlock(&wq->thres_lock);
 
-	if (need_change) {
+	if (need_change)
 		workqueue_set_max_active(wq->normal_wq, wq->current_active);
-	}
This is really a trivial change, have you checked if there are more?
Fixing them in a larger batch would be better than one by one.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help