Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp604246ybr; Fri, 22 May 2020 14:31:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwywzouRjsfcEHoGelPSvU4F8iAf9VBdA82755V9omrpemj220fN9fVpPttbr72rs5lGeS4 X-Received: by 2002:a50:ee1a:: with SMTP id g26mr4624666eds.18.1590183079517; Fri, 22 May 2020 14:31:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590183079; cv=none; d=google.com; s=arc-20160816; b=NeRneCC1tEm8zKXAejO3IM9iCkCCkjG0Yi1OCXI39ScBs2j3ProZayEyGFqxXQsEHS S3Cp394mE+tcRi6BgUtjZseIQD8HLyw1n2B4vtlvHRU9DhTXkAfkpT3fWxG9bUU6xpF+ Ct4ETVDObP9IhK5vnPItp9IVH9ksMCgf0KJOMgFs7sNzy6KCfAtKp/7T0NEUvPWrWHvq KUpf2Qc2C5uNtnvMD/YXGhqdFqvwi5t8TYRGxzgiVdf2TUX34eVZ8C8gbqxuxATpJI58 K2xO2ilIC2To1PM80FzpGAsZHjyaXNV/3IteAYWTAPFQGFHR39urEjAeuITeml3XYOoS yfjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=YnkleiRVR9Tj35XAzzQB+JDWcUaygxu/Dj+0wqS0CKM=; b=qshJmvIkWp5BLNOohc3EoEEJ+QIv+DSUuT0DfjVX5Bw0p42oDwnZPtQxwSVOPxE6Ou p6gcWFDx7f3dWSEiH3uR7eW/IfP1ezCBBrmD0GsEVLmibPg3XWc8cEaHCdRdz5mzOPRg dZpy6K/QXCuI/pvHmqEFmili4Q+WIDumY0sJljf6Vey4HSwrztWX4NWYH5dVeKETfuGM 0cZSsw2NT3bv5Ctk/oNm5xFp85mKrwK0ljpdzEFcy5mZJjqB74NCvftK7D9BUMMpVbbk hKml932OZ1fwRAPNAUYLG/yaEtG5bBXp8hXI7LX/lL+EOfFeDGOyXzV0yG8+MIl4B6XV ojWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JPttV3u5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bc18si5323706edb.558.2020.05.22.14.30.57; Fri, 22 May 2020 14:31:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JPttV3u5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731107AbgEVV3J (ORCPT + 99 others); Fri, 22 May 2020 17:29:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731027AbgEVV3I (ORCPT ); Fri, 22 May 2020 17:29:08 -0400 Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8305C061A0E; Fri, 22 May 2020 14:29:08 -0700 (PDT) Received: by mail-qk1-x744.google.com with SMTP id b6so12122783qkh.11; Fri, 22 May 2020 14:29:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=YnkleiRVR9Tj35XAzzQB+JDWcUaygxu/Dj+0wqS0CKM=; b=JPttV3u5QsPhDrtKcc0NrtTsbNyfJR1LAVv5omshDRvz1FF7apALqHYBHEVw6nyP4D /WzbfMGHjCfLdqCoVmtcE7WgrybJdsIJD8y3Ki1CXDVl3L8MYc4m94m7eqsoLv/3l96V sMZ8jjI9Nb+y9i4l9DtZpAssuVaxP4hKpf1saHGJQHYaG9k+Efwd/aCdBPr86+09Bkss HRuMymlB/k7JzTaJraErrn9NP739ovEQteAfjVOZ3UEDdpR/pMw9nW9It6QbKJ84R+0L 4nIV/aNF16qMk5c8c/I+HaWFXJI9pIgREM6XbiMN1mwRaDCWYcqIu0C2Bo3dcXPKmjBC QFyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=YnkleiRVR9Tj35XAzzQB+JDWcUaygxu/Dj+0wqS0CKM=; b=NepddcnGPgZPzEXlD3AXNwFwG5kLQhTtNUOjNL4qF4w9wTVbTisX4aX0GF++YgGebx YHrFElwfidTeJfr5WdufgxBNjtd9h1Vd34RhQIGxvGojK8VjsTJ662cu58GJjOox3dHD ikbde2S9CIkh2Rju5KLGqwqkMUxTVDT1+CtH0yx9SF9ezP1CKcsuujsSanBv0Kq0H+yw wXhfeKCOxgb6i+RJarj7cHN34qn4zFexe9PqB9o/0LNLcLlb6a68XlIhOT6qh9pA8Ue9 U8LYhuW1tRKgsyI5xpWVDWMWpzu0O3uFeBVK2VdGBg1f6U/dlvK+LOUCI3+lZv8pOGQ+ pTIA== X-Gm-Message-State: AOAM530uz0CyHJQyAL11AKrl6vVwIbOX+CkMDzfg36M/BnB85zy7hJ// JMixAYL9kKAX+uhyZw2Vobw= X-Received: by 2002:a37:ad02:: with SMTP id f2mr16427574qkm.486.1590182947862; Fri, 22 May 2020 14:29:07 -0700 (PDT) Received: from localhost.localdomain ([71.219.209.197]) by smtp.gmail.com with ESMTPSA id w94sm2357779qte.19.2020.05.22.14.29.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2020 14:29:07 -0700 (PDT) From: Ethan Edwards To: clm@fb.com Cc: linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org, Ethan Edwards Subject: [PATCH] FS: BTRFS: ulist.c: Fixed a brace coding style and space before tab Date: Fri, 22 May 2020 17:29:02 -0400 Message-Id: <20200522212902.20994-1-ethancarteredwards@gmail.com> X-Mailer: git-send-email 2.18.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ethan Edwards --- fs/btrfs/ulist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/btrfs/ulist.c b/fs/btrfs/ulist.c index 3374c9e9be67..1e0484c8d244 100644 --- a/fs/btrfs/ulist.c +++ b/fs/btrfs/ulist.c @@ -22,7 +22,7 @@ * ULIST_ITER_INIT(&uiter); * * while ((elem = ulist_next(ulist, &uiter)) { - * for (all child nodes n in elem) + * for (all child nodes n in elem) * ulist_add(ulist, n); * do something useful with the node; * } @@ -266,11 +266,11 @@ struct ulist_node *ulist_next(struct ulist *ulist, struct ulist_iterator *uiter) return NULL; if (uiter->cur_list && uiter->cur_list->next == &ulist->nodes) return NULL; - if (uiter->cur_list) { + if (uiter->cur_list) uiter->cur_list = uiter->cur_list->next; - } else { + else uiter->cur_list = ulist->nodes.next; - } + node = list_entry(uiter->cur_list, struct ulist_node, list); return node; } -- 2.26.2