[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210328021333.GA68800@116d7529a87d>
Date: Sun, 28 Mar 2021 10:13:33 +0800
From: kernel test robot <lkp@...el.com>
To: Konstantin Komarov <almaz.alexandrovich@...agon-software.com>,
linux-fsdevel@...r.kernel.org
Cc: kbuild-all@...ts.01.org, viro@...iv.linux.org.uk,
linux-kernel@...r.kernel.org, pali@...nel.org, dsterba@...e.cz,
aaptel@...e.com, willy@...radead.org, rdunlap@...radead.org,
joe@...ches.com, mark@...mstone.com
Subject: [PATCH] fs/ntfs3: fix d_find_alias.cocci warnings
From: kernel test robot <lkp@...el.com>
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 <almaz.alexandrovich@...agon-software.com>
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: kernel test robot <lkp@...el.com>
---
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
Powered by blists - more mailing lists