mtd/fs/jffs2/ecos/src fs-ecos.c,1.28,1.29

David Woodhouse dwmw2 at infradead.org
Thu Nov 27 07:00:05 EST 2003


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

Modified Files:
	fs-ecos.c 
Log Message:
Fill in uid and gid correctly in stat


Index: fs-ecos.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/src/fs-ecos.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- fs-ecos.c	27 Nov 2003 00:03:25 -0000	1.28
+++ fs-ecos.c	27 Nov 2003 12:00:02 -0000	1.29
@@ -1116,8 +1116,8 @@
 	buf->st_ino = ds.node->i_ino;
 	buf->st_dev = 0;
 	buf->st_nlink = ds.node->i_nlink;
-	buf->st_uid = 0;
-	buf->st_gid = 0;
+	buf->st_uid = ds.node->i_uid;
+	buf->st_gid = ds.node->i_gid;
 	buf->st_size = ds.node->i_size;
 	buf->st_atime = ds.node->i_atime;
 	buf->st_mtime = ds.node->i_mtime;




More information about the linux-mtd-cvs mailing list