[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20230802132632.22668-1-yuehaibing@huawei.com>
Date: Wed, 2 Aug 2023 21:26:32 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <viro@...iv.linux.org.uk>, <brauner@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <yuehaibing@...wei.com>,
<linux-fsdevel@...r.kernel.org>
Subject: [PATCH -next] dcache: Remove unused extern declaration d_instantiate_unique()
From: YueHaibing <yuehaibing@...wei.com>
Since commit 668d0cd56ef7 ("replace d_add_unique() with saner primitive")
this is not used anymore.
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
include/linux/dcache.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index 6b351e009f59..612fb55623a0 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -220,7 +220,6 @@ extern seqlock_t rename_lock;
*/
extern void d_instantiate(struct dentry *, struct inode *);
extern void d_instantiate_new(struct dentry *, struct inode *);
-extern struct dentry * d_instantiate_unique(struct dentry *, struct inode *);
extern struct dentry * d_instantiate_anon(struct dentry *, struct inode *);
extern void __d_drop(struct dentry *dentry);
extern void d_drop(struct dentry *dentry);
--
2.34.1
Powered by blists - more mailing lists