All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Documentation: document d_prune op in vfs.txt
@ 2019-04-01 12:49 Jeff Layton
  0 siblings, 0 replies; only message in thread
From: Jeff Layton @ 2019-04-01 12:49 UTC (permalink / raw)
  To: corbet; +Cc: viro, linux-doc, linux-fsdevel

Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
 Documentation/filesystems/vfs.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt
index 761c6fd24a53..4f1638e5f95b 100644
--- a/Documentation/filesystems/vfs.txt
+++ b/Documentation/filesystems/vfs.txt
@@ -1013,6 +1013,7 @@ struct dentry_operations {
 	int (*d_delete)(const struct dentry *);
 	int (*d_init)(struct dentry *);
 	void (*d_release)(struct dentry *);
+	void (*d_prune)(struct dentry *);
 	void (*d_iput)(struct dentry *, struct inode *);
 	char *(*d_dname)(struct dentry *, char *, int);
 	struct vfsmount *(*d_automount)(struct path *);
@@ -1087,6 +1088,9 @@ struct dentry_operations {
 
   d_release: called when a dentry is really deallocated
 
+  d_prune: called prior to pruning (i.e. unhashing and killing) a hashed
+	dentry from the dcache.
+
   d_iput: called when a dentry loses its inode (just prior to its
 	being deallocated). The default when this is NULL is that the
 	VFS calls iput(). If you define this method, you must call
-- 
2.20.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-01 12:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-01 12:49 [PATCH] Documentation: document d_prune op in vfs.txt Jeff Layton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.