GIT: unionfs2-2.6.27.y: Unionfs: Proper comment on rwsem field

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:15:56 EDT 2010


commit 257a23334ad5fd44896abf74cd9fe93be26f33ee
Author: Josef 'Jeff' Sipek <jsipek at cs.sunysb.edu>
Date:   Sun Mar 18 19:37:51 2007 -0400

    Unionfs: Proper comment on rwsem field
    
    Signed-off-by: Josef 'Jeff' Sipek <jsipek at cs.sunysb.edu>

diff --git a/fs/unionfs/union.h b/fs/unionfs/union.h
index bae3c76..5676394 100644
--- a/fs/unionfs/union.h
+++ b/fs/unionfs/union.h
@@ -130,7 +130,7 @@ struct unionfs_sb_info {
 	int bend;
 
 	atomic_t generation;
-	struct rw_semaphore rwsem;
+	struct rw_semaphore rwsem; /* protects access to data+id fields */
 
 	struct unionfs_data *data;
 };


More information about the unionfs-cvs mailing list