diff options
Diffstat (limited to 'Documentation/filesystems/vfs.txt')
| -rw-r--r-- | Documentation/filesystems/vfs.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt index b7522c6cbae3..c4d348dabe94 100644 --- a/Documentation/filesystems/vfs.txt +++ b/Documentation/filesystems/vfs.txt | |||
| @@ -143,7 +143,7 @@ struct file_system_type { | |||
| 143 | 143 | ||
| 144 | The get_sb() method has the following arguments: | 144 | The get_sb() method has the following arguments: |
| 145 | 145 | ||
| 146 | struct file_system_type *fs_type: decribes the filesystem, partly initialized | 146 | struct file_system_type *fs_type: describes the filesystem, partly initialized |
| 147 | by the specific filesystem code | 147 | by the specific filesystem code |
| 148 | 148 | ||
| 149 | int flags: mount flags | 149 | int flags: mount flags |
| @@ -895,9 +895,9 @@ struct dentry_operations { | |||
| 895 | iput() yourself | 895 | iput() yourself |
| 896 | 896 | ||
| 897 | d_dname: called when the pathname of a dentry should be generated. | 897 | d_dname: called when the pathname of a dentry should be generated. |
| 898 | Usefull for some pseudo filesystems (sockfs, pipefs, ...) to delay | 898 | Useful for some pseudo filesystems (sockfs, pipefs, ...) to delay |
| 899 | pathname generation. (Instead of doing it when dentry is created, | 899 | pathname generation. (Instead of doing it when dentry is created, |
| 900 | its done only when the path is needed.). Real filesystems probably | 900 | it's done only when the path is needed.). Real filesystems probably |
| 901 | dont want to use it, because their dentries are present in global | 901 | dont want to use it, because their dentries are present in global |
| 902 | dcache hash, so their hash should be an invariant. As no lock is | 902 | dcache hash, so their hash should be an invariant. As no lock is |
| 903 | held, d_dname() should not try to modify the dentry itself, unless | 903 | held, d_dname() should not try to modify the dentry itself, unless |
