diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-09 03:01:03 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-03-14 05:17:24 +0100 |
commit | 34d0d19dc0929ccc326448737f05a8fae3d47b8a (patch) | |
tree | 8b0d6da98c3340ed8d88fea2ecc9eb1d4359f594 /include | |
parent | replace d_add_unique() with saner primitive (diff) | |
download | linux-34d0d19dc0929ccc326448737f05a8fae3d47b8a.tar.xz linux-34d0d19dc0929ccc326448737f05a8fae3d47b8a.zip |
uninline d_add()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/dcache.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h index bda4ec53886b..1c51d2d84a32 100644 --- a/include/linux/dcache.h +++ b/include/linux/dcache.h @@ -273,21 +273,8 @@ extern int have_submounts(struct dentry *); * This adds the entry to the hash queues. */ extern void d_rehash(struct dentry *); - -/** - * d_add - add dentry to hash queues - * @entry: dentry to add - * @inode: The inode to attach to this dentry - * - * This adds the entry to the hash queues and initializes @inode. - * The entry was actually filled in earlier during d_alloc(). - */ -static inline void d_add(struct dentry *entry, struct inode *inode) -{ - d_instantiate(entry, inode); - d_rehash(entry); -} +extern void d_add(struct dentry *, struct inode *); extern void dentry_update_name_case(struct dentry *, struct qstr *); |