Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2636030pxf; Sat, 27 Mar 2021 19:33:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaDiHgVJhrcwu4YX6fNPyb7LT60HF181POdM+eeB7VsFhtbamAVxTkFdJ/tZxGXn3g9VCj X-Received: by 2002:a17:906:e84:: with SMTP id p4mr22320026ejf.248.1616898816048; Sat, 27 Mar 2021 19:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616898816; cv=none; d=google.com; s=arc-20160816; b=0cAdo1j8ouzbuLREEQDC69SeCZAyWUh+BJismVBgIQYnPx1tGrknS7e8T3RN+Ucb9t 747vE9DIr8yqXARe+2lvOYqPprUTu9NXy3H4nOTGqFs3dCWU2F+h/0D+S41UhnTy+KK9 RCqYsEeweyXpYlaCFE5BzhAtfq2L6ZUTu0hRY4a1wFkHOVXH7SZcxQsDRyOMiI6I3OX9 Xt3IAXgBEEXMXAkoPEeRT7wokN7uIrMWSS6fONPIRqFj39Re7kTsU86ejiZhZMPl9XLF E68F0rZsMVVUTa5B/k2SkGSHYL2RpTcUVCyuAwMIGiOH1UIhlRnk1CjlFULlGvbkJNO9 GE4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=SY1eG/xEWFUahSInAHp1kIjMFWw3S7o0ZHr3KhaFZG8=; b=Z1Rg9+OsWKlHWOv/UWOy4Q0c3Bh9Gj7XtQD07DZjCEOoSX6V+3J3NXzkP2fZr7zrbt IUraP+gGBylX+WVD3Wic85hRpzSvwxEA90VGP7QlujNGqy3dSoz88dx5TeAWjw+nl3ZX 5qQlz/2eIiX4pC7bAL725GBsfuis1I03SIGXL+AQk1Vyjwhc48GrHSQ5XaRbLulwwPfU sGwdlCAiMYBrUql51OXV48h7XYFrkpBFagg0cu5FVp9o+b3JlChtPk/p6tvn3X8DcmcH k5BjQ3b2sSuMNfXLrX03qbqB9gIgoxdi8qdGROpChaoA3dJnZ7QW+vyXQcUGVKgTPUSh D+gQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j19si9622174edp.531.2021.03.27.19.32.40; Sat, 27 Mar 2021 19:33:36 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231267AbhC1COz (ORCPT + 99 others); Sat, 27 Mar 2021 22:14:55 -0400 Received: from mga11.intel.com ([192.55.52.93]:47429 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231184AbhC1COM (ORCPT ); Sat, 27 Mar 2021 22:14:12 -0400 IronPort-SDR: cSyaHTRmY892XinflCfrIyYl0WwS/Lrgd06r2GNIr74PfAf+SECy4XcTwOtdLtspGYkDUSUNcO 7u4sa/CrboLg== X-IronPort-AV: E=McAfee;i="6000,8403,9936"; a="188080947" X-IronPort-AV: E=Sophos;i="5.81,284,1610438400"; d="scan'208";a="188080947" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Mar 2021 19:14:12 -0700 IronPort-SDR: PLCvrc1AhKc9g+rlXbpRX/vXfs6dwGo005iEbWFv0XGfv6SHnW134ddsq+nOrEMUfLWT9+dNaZ sUQ8prQgE3Lg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,284,1610438400"; d="scan'208";a="392711034" Received: from lkp-server01.sh.intel.com (HELO 69d8fcc516b7) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 27 Mar 2021 19:14:09 -0700 Received: from kbuild by 69d8fcc516b7 with local (Exim 4.92) (envelope-from ) id 1lQKwK-0003mu-OQ; Sun, 28 Mar 2021 02:14:08 +0000 Date: Sun, 28 Mar 2021 10:13:33 +0800 From: kernel test robot To: Konstantin Komarov , linux-fsdevel@vger.kernel.org Cc: kbuild-all@lists.01.org, viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, pali@kernel.org, dsterba@suse.cz, aaptel@suse.com, willy@infradead.org, rdunlap@infradead.org, joe@perches.com, mark@harmstone.com Subject: [PATCH] fs/ntfs3: fix d_find_alias.cocci warnings Message-ID: <20210328021333.GA68800@116d7529a87d> References: <20210327214023.3214923-10-almaz.alexandrovich@paragon-software.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210327214023.3214923-10-almaz.alexandrovich@paragon-software.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: kernel test robot fs/ntfs3/super.c:93:17-23: Missing call to dput() at line 121. Make sure calls to d_find_alias() have a corresponding call to dput(). Generated by: scripts/coccinelle/api/d_find_alias.cocci CC: Konstantin Komarov Reported-by: kernel test robot Signed-off-by: kernel test robot --- url: https://github.com/0day-ci/linux/commits/Konstantin-Komarov/NTFS-read-write-driver-GPL-implementation-by-Paragon-Software/20210328-054516 base: 931294922e65a23e1aad6398b9ae02df74044679 Please take the patch only if it's a positive warning. Thanks! super.c | 1 + 1 file changed, 1 insertion(+) --- a/fs/ntfs3/super.c +++ b/fs/ntfs3/super.c @@ -118,6 +118,7 @@ void ntfs_inode_printk(struct inode *ino atomic_inc(&s_name_buf_cnt); if (name != s_name_buf) kfree(name); + dput(dentry); } #endif