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

David Woodhouse dwmw2 at infradead.org
Thu Nov 27 07:01:03 EST 2003


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

Modified Files:
	fs-ecos.c 
Log Message:
uid/gid in fstat too.


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




More information about the linux-mtd-cvs mailing list