From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752631AbcBVAga (ORCPT ); Sun, 21 Feb 2016 19:36:30 -0500 Received: from 8.mo4.mail-out.ovh.net ([188.165.33.112]:46281 "EHLO 8.mo4.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752304AbcBVAg3 (ORCPT ); Sun, 21 Feb 2016 19:36:29 -0500 X-Greylist: delayed 2000 seconds by postgrey-1.27 at vger.kernel.org; Sun, 21 Feb 2016 19:36:29 EST 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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; -- 2.7.1