diff mbox

Btrfs: async: fixed a brace coding style issue

Message ID 1456087842-29045-1-git-send-email-phil@philippeloctaux.com (mailing list archive)
State Rejected
Headers show

Commit Message

Philippe Loctaux Feb. 21, 2016, 8:50 p.m. UTC
Fixed a coding style issue.

Signed-off-by: Philippe Loctaux <phil@philippeloctaux.com>
---
 fs/btrfs/async-thread.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Simon Quigley Feb. 21, 2016, 9:08 p.m. UTC | #1
On 02/21/2016 02:50 PM, Philippe Loctaux wrote:
> Fixed a coding style issue.
>
> Signed-off-by: Philippe Loctaux <phil@philippeloctaux.com>
> ---
>   fs/btrfs/async-thread.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c
> index 5fb60ea..7914dd2 100644
> --- a/fs/btrfs/async-thread.c
> +++ b/fs/btrfs/async-thread.c
> @@ -227,9 +227,9 @@ 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)
I thought I proposed this exact patch...hmm...
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c
index 5fb60ea..7914dd2 100644
--- a/fs/btrfs/async-thread.c
+++ b/fs/btrfs/async-thread.c
@@ -227,9 +227,9 @@  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)