[patch] 2.6.0-test3 fs/jffs/inode-v23.c

Josh Boyer <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.file-systems.jffs
Message-ID <1060653273.1998.15.camel@yoda>
This patch fixes a compiler warning due to an incorrect structure type
for a function parameter.  Not sure if jffs is supported anymore, but I
thought I would send this anyway.

jb

--- linux-2.6.0-test3.orig/fs/jffs/inode-v23.c	2003-07-27
20:46:52.000000000 -0500
+++ linux-2.6.0-test3/fs/jffs/inode-v23.c	2003-08-11 20:45:38.382051048
-0500
@@ -383,7 +383,7 @@
 
 /* Get statistics of the file system.  */
 int
-jffs_statfs(struct super_block *sb, struct statfs *buf)
+jffs_statfs(struct super_block *sb, struct kstatfs *buf)
 {
 	struct jffs_control *c = (struct jffs_control *) sb->s_fs_info;
 	struct jffs_fmcontrol *fmc;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.