Skip to contentSkip to conversation

dcache: update a comment to reflect the code

PATCH New Emil Goode 1 participant 1 message Nov 23, 2013

Subsystems (2)
lore
Share & tools
lore

Emil Goode

author
#0 lore raw

PATCH 1/1 dcache: update a comment to reflect the code

The following commit introduced the function shrink_submounts_and_drop which replaces the function check_submounts_and_drop.
This patch updates a comment to use the new function name.

commit 40216baa0101ec7ac9ce7c4f4f4d684f3a85eb93

Author: Eric W. Biederman <[email protected]>
Date:   Tue Oct 1 18:33:48 2013 -0700

vfs: Lazily remove mounts on unlinked files and directories. v2

---
 fs/dcache.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/dcache.c +2 -2
index 9042a32..1c0576e 100644
@@ -1204,8 +1204,8 @@ EXPORT_SYMBOL(have_submounts);
  * reachable (e.g. NFS can unhash a directory dentry and then the complete
  * subtree can become unreachable).
  *
- * Only one of check_submounts_and_drop() and d_set_mounted() must succeed.  For
- * this reason take rename_lock and d_lock on dentry and ancestors.
+ * Only one of shrink_submounts_and_drop() and d_set_mounted() must succeed.
+ * For this reason take rename_lock and d_lock on dentry and ancestors.
  */
 int d_set_mounted(struct dentry *dentry)
 {
Signature · 1 line
1.7.10.4