From: Maheep Kumar Kathuria <me@maheepk.net>
To: clm@fb.com
Cc: linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org,
Maheep Kumar Kathuria <me@maheepk.net>
Subject: [PATCH] btrfs: Fixed a brace coding style issue
Date: Mon, 15 Feb 2021 20:38:20 +0530 [thread overview]
Message-ID: <20210215150820.83069-1-me@maheepk.net> (raw)
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
next reply other threads:[~2021-02-15 15:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-15 15:08 Maheep Kumar Kathuria [this message]
2021-02-24 19:13 ` [PATCH] btrfs: Fixed a brace coding style issue David Sterba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210215150820.83069-1-me@maheepk.net \
--to=me@maheepk.net \
--cc=clm@fb.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).