aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/vfs.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/filesystems/vfs.txt')
-rw-r--r--Documentation/filesystems/vfs.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt
index 69b10ff5ec81..c936b4912383 100644
--- a/Documentation/filesystems/vfs.txt
+++ b/Documentation/filesystems/vfs.txt
@@ -863,6 +863,15 @@ struct dentry_operations {
863 dcache. Most filesystems leave this as NULL, because all their 863 dcache. Most filesystems leave this as NULL, because all their
864 dentries in the dcache are valid 864 dentries in the dcache are valid
865 865
866 d_revalidate may be called in rcu-walk mode (nd->flags & LOOKUP_RCU).
867 If in rcu-walk mode, the filesystem must revalidate the dentry without
868 blocking or storing to the dentry, d_parent and d_inode should not be
869 used without care (because they can go NULL), instead nd->inode should
870 be used.
871
872 If a situation is encountered that rcu-walk cannot handle, return
873 -ECHILD and it will be called again in ref-walk mode.
874
866 d_hash: called when the VFS adds a dentry to the hash table. The first 875 d_hash: called when the VFS adds a dentry to the hash table. The first
867 dentry passed to d_hash is the parent directory that the name is 876 dentry passed to d_hash is the parent directory that the name is
868 to be hashed into. The inode is the dentry's inode. 877 to be hashed into. The inode is the dentry's inode.