lkml.org 
[lkml]   [2021]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] btrfs: Fixed a brace coding style issue
Date
Fixed a coding style issue in thresh_exec_hook()

Signed-off-by: Maheep Kumar Kathuria <me@maheepk.net>
---
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);
- }
}

static void run_ordered_work(struct __btrfs_workqueue *wq,
--
2.29.2
\
 
 \ /
  Last update: 2021-02-15 16:17    [W:0.029 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site