mtd/fs/jffs2 symlink.c,1.15,1.16

Artem Bityuckiy dedekind at infradead.org
Tue Mar 1 05:50:52 EST 2005


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv20308/fs/jffs2

Modified Files:
	symlink.c 
Log Message:
Fix spelling. Add more comments.


Index: symlink.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/symlink.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- symlink.c	1 Mar 2005 10:34:03 -0000	1.15
+++ symlink.c	1 Mar 2005 10:50:48 -0000	1.16
@@ -32,14 +32,17 @@
 	struct jffs2_inode_info *f = JFFS2_INODE_INFO(dentry->d_inode);
 	
 	/*
-	 * We don't aquire the f->sem mutex here since the only data we
+	 * We don't acquire the f->sem mutex here since the only data we
 	 * use is f->dents which in case of the symlink inode points to the
 	 * symlink's target path.
 	 *
-	 * 1. If we are here the inode has already build and f->dents has
+	 * 1. If we are here the inode has already built and f->dents has
 	 * to point to the target path.
-	 * 2. Nobody use f->dents (if the inode is symlink's inode). The
-	 * exception is inode freeing function which frees f->dents.
+	 * 2. Nobody uses f->dents (if the inode is symlink's inode). The
+	 * exception is inode freeing function which frees f->dents. But
+	 * it can't be called while we are here and before VFS has
+	 * stopped using our f->dents string which we provide by means of
+	 * nd_set_link() call.
 	 */
 	
 	if (!f->dents) {





More information about the linux-mtd-cvs mailing list