From patchwork Mon Feb 22 00:27:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Loctaux X-Patchwork-Id: 8369871 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B1F91C0553 for ; Mon, 22 Feb 2016 00:37:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C2B34203AA for ; Mon, 22 Feb 2016 00:37:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E61EC203A9 for ; Mon, 22 Feb 2016 00:37:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752659AbcBVAgn (ORCPT ); Sun, 21 Feb 2016 19:36:43 -0500 Received: from 4.mo4.mail-out.ovh.net ([178.32.98.131]:39627 "EHLO 4.mo4.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752383AbcBVAgm (ORCPT ); Sun, 21 Feb 2016 19:36:42 -0500 X-Greylist: delayed 6899 seconds by postgrey-1.27 at vger.kernel.org; Sun, 21 Feb 2016 19:36:41 EST Received: from mail178.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo4.mail-out.ovh.net (Postfix) with SMTP id 1D07510A0051 for ; Mon, 22 Feb 2016 01:27:48 +0100 (CET) Received: from localhost (HELO queueout) (127.0.0.1) by localhost with SMTP; 22 Feb 2016 02:27:47 +0200 Received: from lfbn-1-1342-12.w86-253.abo.wanadoo.fr (HELO localhost) (phil@philippeloctaux.com@86.253.201.12) by ns0.ovh.net with AES128-GCM-SHA256 encrypted SMTP; 22 Feb 2016 02:27:47 +0200 From: Philippe Loctaux To: clm@fb.com Cc: jbacik@fb.com, dsterba@suse.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, Philippe Loctaux Subject: [PATCH 2/2] Btrfs: dev-replace: fixed comment blocks coding style issues Date: Mon, 22 Feb 2016 01:27:36 +0100 Message-Id: <1456100856-15604-2-git-send-email-phil@philippeloctaux.com> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1456100856-15604-1-git-send-email-phil@philippeloctaux.com> References: <1456100856-15604-1-git-send-email-phil@philippeloctaux.com> X-Ovh-Tracer-Id: 6197797513500333331 X-Ovh-Remote: 86.253.201.12 (lfbn-1-1342-12.w86-253.abo.wanadoo.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 0 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeekjedrheefucetufdoteggodftvfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeekjedrheefgddukeegucetufdoteggodftvfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Makes the comment blocks start with /* on separate lines, and end with */ on separate lines as well. Signed-off-by: Philippe Loctaux --- fs/btrfs/dev-replace.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c index b89a8c6..0d817aa 100644 --- a/fs/btrfs/dev-replace.c +++ b/fs/btrfs/dev-replace.c @@ -650,8 +650,10 @@ void btrfs_dev_replace_status(struct btrfs_fs_info *fs_info, struct btrfs_device *srcdev; btrfs_dev_replace_lock(dev_replace); - /* even if !dev_replace_is_valid, the values are good enough for - * the replace_status ioctl */ + /* + * even if !dev_replace_is_valid, the values are good enough for + * the replace_status ioctl + */ args->result = BTRFS_IOCTL_DEV_REPLACE_RESULT_NO_ERROR; args->status.replace_state = dev_replace->replace_state; args->status.time_started = dev_replace->time_started; @@ -870,8 +872,10 @@ void btrfs_dev_replace_lock(struct btrfs_dev_replace *dev_replace) /* the beginning is just an optimization for the typical case */ if (atomic_read(&dev_replace->nesting_level) == 0) { acquire_lock: - /* this is not a nested case where the same thread - * is trying to acqurire the same lock twice */ + /* + * this is not a nested case where the same thread + * is trying to acqurire the same lock twice + */ mutex_lock(&dev_replace->lock); mutex_lock(&dev_replace->lock_management_lock); dev_replace->lock_owner = current->pid;