diff options
-rw-r--r-- | Documentation/filesystems/vfs.txt | 2 | ||||
-rw-r--r-- | fs/dcache.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt index 5579bda58a6d..041cb771d505 100644 --- a/Documentation/filesystems/vfs.txt +++ b/Documentation/filesystems/vfs.txt | |||
@@ -931,7 +931,7 @@ manipulate dentries: | |||
931 | d_lookup: look up a dentry given its parent and path name component | 931 | d_lookup: look up a dentry given its parent and path name component |
932 | It looks up the child of that given name from the dcache | 932 | It looks up the child of that given name from the dcache |
933 | hash table. If it is found, the reference count is incremented | 933 | hash table. If it is found, the reference count is incremented |
934 | and the dentry is returned. The caller must use d_put() | 934 | and the dentry is returned. The caller must use dput() |
935 | to free the dentry when it finishes using it. | 935 | to free the dentry when it finishes using it. |
936 | 936 | ||
937 | For further information on dentry locking, please refer to the document | 937 | For further information on dentry locking, please refer to the document |
diff --git a/fs/dcache.c b/fs/dcache.c index eeafc14c2a14..c231a639c2a2 100644 --- a/fs/dcache.c +++ b/fs/dcache.c | |||
@@ -1332,7 +1332,7 @@ err_out: | |||
1332 | * | 1332 | * |
1333 | * Searches the children of the parent dentry for the name in question. If | 1333 | * Searches the children of the parent dentry for the name in question. If |
1334 | * the dentry is found its reference count is incremented and the dentry | 1334 | * the dentry is found its reference count is incremented and the dentry |
1335 | * is returned. The caller must use d_put to free the entry when it has | 1335 | * is returned. The caller must use dput to free the entry when it has |
1336 | * finished using it. %NULL is returned on failure. | 1336 | * finished using it. %NULL is returned on failure. |
1337 | * | 1337 | * |
1338 | * __d_lookup is dcache_lock free. The hash list is protected using RCU. | 1338 | * __d_lookup is dcache_lock free. The hash list is protected using RCU. |