Skip to contentSkip to conversation

fix fat/msdos warning

PATCH New OGAWA Hirofumi 1 participant 1 message Aug 14, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix fat/msdos warning

Hi,

fixed the warning of fat/msdos.

Please apply.

Signature · 37 lines
OGAWA Hirofumi <[email protected]>

diff -urN linux-2.4.9-pre3/fs/fat/cache.c warning-2.4.9-pre3/fs/fat/cache.c
--- linux-2.4.9-pre3/fs/fat/cache.c	Tue Aug 14 17:43:13 2001
+++ warning-2.4.9-pre3/fs/fat/cache.c	Tue Aug 14 17:25:13 2001
@@ -15,6 +15,8 @@
 #include <linux/stat.h>
 #include <linux/fat_cvf.h>
 
+#include "msbuffer.h"
+
 #if 0
 #  define PRINTK(x) printk x
 #else
diff -urN linux-2.4.9-pre3/fs/fat/dir.c warning-2.4.9-pre3/fs/fat/dir.c
--- linux-2.4.9-pre3/fs/fat/dir.c	Thu Apr 19 03:49:12 2001
+++ warning-2.4.9-pre3/fs/fat/dir.c	Tue Aug 14 17:25:13 2001
@@ -590,7 +590,7 @@
 	void * buf,
 	const char * name,
 	int name_len,
-	off_t offset,
+	loff_t offset,
 	ino_t ino,
 	unsigned int d_type)
 {
diff -urN linux-2.4.9-pre3/fs/msdos/namei.c warning-2.4.9-pre3/fs/msdos/namei.c
--- linux-2.4.9-pre3/fs/msdos/namei.c	Tue Aug 14 17:43:13 2001
+++ warning-2.4.9-pre3/fs/msdos/namei.c	Tue Aug 14 17:25:13 2001
@@ -17,6 +17,8 @@
 
 #include <asm/uaccess.h>
 
+#include "../fat/msbuffer.h"
+
 #define MSDOS_DEBUG 0
 #define PRINTK(x)