[PATCH] fix fat/msdos warning

OGAWA Hirofumi (hirofumi@mail.parknet.co.jp)
14 Aug 2001 18:05:30 +0900


Hi,

fixed the warning of fat/msdos.

Please apply.

-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

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)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/