From patchwork Mon Feb 22 09:51:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Loctaux X-Patchwork-Id: 8374521 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 767489F372 for ; Mon, 22 Feb 2016 09:59:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 943532037C for ; Mon, 22 Feb 2016 09:59:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B10292035D for ; Mon, 22 Feb 2016 09:58:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751998AbcBVJ6Q (ORCPT ); Mon, 22 Feb 2016 04:58:16 -0500 Received: from 20.mo1.mail-out.ovh.net ([188.165.45.168]:41922 "EHLO 20.mo1.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751477AbcBVJ6P (ORCPT ); Mon, 22 Feb 2016 04:58:15 -0500 X-Greylist: delayed 7792 seconds by postgrey-1.27 at vger.kernel.org; Mon, 22 Feb 2016 04:58:15 EST Received: from mail690.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo1.mail-out.ovh.net (Postfix) with SMTP id 2E061102C051 for ; Mon, 22 Feb 2016 10:51:18 +0100 (CET) Received: from localhost (HELO queueout) (127.0.0.1) by localhost with SMTP; 22 Feb 2016 11:51:18 +0200 Received: from lstlambert-656-1-187-17.w80-14.abo.wanadoo.fr (HELO localhost) (phil@philippeloctaux.com@80.14.13.17) by ns0.ovh.net with AES128-GCM-SHA256 encrypted SMTP; 22 Feb 2016 11:51:16 +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] Btrfs: dir-item: added line after variable declaration Date: Mon, 22 Feb 2016 10:51:11 +0100 Message-Id: <1456134671-20827-1-git-send-email-phil@philippeloctaux.com> X-Mailer: git-send-email 2.7.1 X-Ovh-Tracer-Id: 15714185000430441747 X-Ovh-Remote: 80.14.13.17 (lstlambert-656-1-187-17.w80-14.abo.wanadoo.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 0 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeekjedrheegucetufdoteggodftvfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeekjedrheeggddtkecutefuodetggdotffvucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenuc 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 Added line after variable declaration, fixing checkpatch warning. Signed-off-by: Philippe Loctaux --- fs/btrfs/dir-item.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/btrfs/dir-item.c b/fs/btrfs/dir-item.c index 1752625..70c39a3 100644 --- a/fs/btrfs/dir-item.c +++ b/fs/btrfs/dir-item.c @@ -46,6 +46,7 @@ static struct btrfs_dir_item *insert_with_overflow(struct btrfs_trans_handle ret = btrfs_insert_empty_item(trans, root, path, cpu_key, data_size); if (ret == -EEXIST) { struct btrfs_dir_item *di; + di = btrfs_match_dir_item_name(root, path, name, name_len); if (di) return ERR_PTR(-EEXIST);