[PATCH] dcache: update a comment to reflect the code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <ebiederman@xxxxxxxxxxx>
Date:   Tue Oct 1 18:33:48 2013 -0700

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

Signed-off-by: Emil Goode <emilgoode@xxxxxxxxx>
---
 fs/dcache.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/dcache.c b/fs/dcache.c
index 9042a32..1c0576e 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -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)
 {
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux