Subject: afs/fs/cachefs super.c,1.34,1.35

From: [email-masked]
Date: Tue, 01 Jul 2003 18:45:25 +0100

Update of /home/cvs/afs/fs/cachefs
In directory phoenix.infradead.org:/tmp/cvs-serv18487/fs/cachefs

Modified Files:
	super.c 
Log Message:
the statfs method's arguments changed

Index: super.c
===================================================================
RCS file: /home/cvs/afs/fs/cachefs/super.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- super.c	11 Jun 2003 12:11:33 -0000	1.34
+++ super.c	1 Jul 2003 17:45:22 -0000	1.35
@@ -26,14 +26,14 @@
 static void cachefs_i_init_once(void *foo, kmem_cache_t *cachep, unsigned long flags);
 
 static struct super_block *cachefs_get_sb(struct file_system_type *fs_type,
-				      int flags, char *dev_name, void *data);
+					  int flags, const char *dev_name, void *data);
 
 static struct inode *cachefs_alloc_inode(struct super_block *sb);
 static void cachefs_destroy_inode(struct inode *inode);
 
 static int cachefs_fill_super(struct super_block *sb, void *_data, int silent);
 static int cachefs_initialise_blockdev(struct cachefs_super *super);
-static int cachefs_statfs(struct super_block *sb, struct statfs *buf);
+static int cachefs_statfs(struct super_block *sb, struct kstatfs *buf);
 static void cachefs_write_super(struct super_block *sb);
 static void cachefs_put_super(struct super_block *sb);
 
@@ -115,7 +115,7 @@
  */
 static struct super_block *cachefs_get_sb(struct file_system_type *fs_type,
 					  int flags,
-					  char *dev_name,
+					  const char *dev_name,
 					  void *options)
 {
 	struct super_block *sb;
@@ -636,7 +636,7 @@
 /*
  * return some stats on the filesystem
  */
-static int cachefs_statfs(struct super_block *sb, struct statfs *buf)
+static int cachefs_statfs(struct super_block *sb, struct kstatfs *buf)
 {
 	struct cachefs_super *super = sb->s_fs_info;
 	unsigned long long tmp;