GIT: unionfs2-2.6.27.y: Unionfs: Document unionfs_d_release locking
Erez Zadok
ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:16:00 EDT 2010
commit a6ac4c886ca3b5fb355de484cb9386afc6410f8a
Author: Josef 'Jeff' Sipek <jsipek at cs.sunysb.edu>
Date: Sun Mar 18 16:30:45 2007 -0400
Unionfs: Document unionfs_d_release locking
Signed-off-by: Josef 'Jeff' Sipek <jsipek at cs.sunysb.edu>
diff --git a/fs/unionfs/dentry.c b/fs/unionfs/dentry.c
index c841f08..4756b78 100644
--- a/fs/unionfs/dentry.c
+++ b/fs/unionfs/dentry.c
@@ -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;
More information about the unionfs-cvs
mailing list