Unionfs: Document unionfs_d_release locking
authorJosef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Sun, 18 Mar 2007 20:30:45 +0000 (16:30 -0400)
committerErez_Zadok <ezk@cs.sunysb.edu>
Mon, 23 Jul 2007 00:50:24 +0000 (20:50 -0400)
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
fs/unionfs/dentry.c

index c841f08a61abfda1dc3dfda9a92bae46bacf7a9a..4756b782cb02e24a59ba3b99bb5d58423741d13d 100644 (file)
@@ -286,6 +286,10 @@ static int unionfs_d_revalidate(struct dentry *dentry, struct nameidata *nd)
        return err;
 }
 
+/*
+ * At this point no one can reference this dentry, so we don't have to be
+ * careful about concurrent access.
+ */
 static void unionfs_d_release(struct dentry *dentry)
 {
        int bindex, bstart, bend;