summaryrefslogtreecommitdiffstats
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-03-08 21:01:03 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2016-03-14 00:17:24 -0400
commit34d0d19dc0929ccc326448737f05a8fae3d47b8a (patch)
tree8b0d6da98c3340ed8d88fea2ecc9eb1d4359f594 /include/linux/dcache.h
parent668d0cd56ef7bc71be6dd8c081007221e09d9a86 (diff)
uninline d_add()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r--include/linux/dcache.h15
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 *);
273 * This adds the entry to the hash queues. 273 * This adds the entry to the hash queues.
274 */ 274 */
275extern void d_rehash(struct dentry *); 275extern void d_rehash(struct dentry *);
276
277/**
278 * d_add - add dentry to hash queues
279 * @entry: dentry to add
280 * @inode: The inode to attach to this dentry
281 *
282 * This adds the entry to the hash queues and initializes @inode.
283 * The entry was actually filled in earlier during d_alloc().
284 */
285 276
286static inline void d_add(struct dentry *entry, struct inode *inode) 277extern void d_add(struct dentry *, struct inode *);
287{
288 d_instantiate(entry, inode);
289 d_rehash(entry);
290}
291 278
292extern void dentry_update_name_case(struct dentry *, struct qstr *); 279extern void dentry_update_name_case(struct dentry *, struct qstr *);
293 280