lkml.org 
[lkml]   [2023]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] dcache: Remove unused extern declaration d_instantiate_unique()
Date
From: YueHaibing <yuehaibing@huawei.com>

Since commit 668d0cd56ef7 ("replace d_add_unique() with saner primitive")
this is not used anymore.

Signed-off-by: YueHaibing <yuehaibing@huawei.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
\
 
 \ /
  Last update: 2023-08-02 15:27    [W:0.031 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site