mtd/fs/jffs2 fs.c,1.14,1.15

David Woodhouse dwmw2 at infradead.org
Tue Aug 20 10:38:57 EDT 2002


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

Modified Files:
	fs.c 
Log Message:
<jocke> small bug, last line overwrites the ri->mode which may have been modified 4 lines above.


Index: fs.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/fs.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- fs.c	19 Aug 2002 14:32:29 -0000	1.14
+++ fs.c	20 Aug 2002 14:38:54 -0000	1.15
@@ -225,7 +225,7 @@
 	if (dir_i->i_mode & S_ISGID) {
 		ri->gid = dir_i->i_gid;
 		if (S_ISDIR(mode))
-			ri->mode |= S_ISGID;
+			mode |= S_ISGID;
 	} else {
 		ri->gid = current->fsgid;
 	}





More information about the linux-mtd-cvs mailing list