public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Fales <psfales@lucent.com>
To: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: linux-kernel@vger.kernel.org
Subject: Re: UMSDOS problems in 2.4.9?
Date: Sun, 19 Aug 2001 22:09:40 -0500	[thread overview]
Message-ID: <20010819220940.A1464@lucent.com> (raw)
In-Reply-To: <20010818212401.A1814@lucent.com> <874rr3rgyv.fsf@devron.myhome.or.jp>
In-Reply-To: <874rr3rgyv.fsf@devron.myhome.or.jp>; from hirofumi@mail.parknet.co.jp on Mon, Aug 20, 2001 at 04:24:08AM +0900

Yes.  It works!  Thanks!  Will that change go into the official kernel??
-- 
Peter Fales			  Lucent Technologies, Room 5B-408
N9IYJ            		  2000 N Naperville Rd PO Box 3033
				  Naperville, IL 60566-7033
internet: psfales@lucent.com  	  work:	(630) 979-8031

On Mon, Aug 20, 2001 at 04:24:08AM +0900, OGAWA Hirofumi wrote:
> Hi,
> 
> Peter Fales <psfales@lucent.com> writes:
> 
> > My UMSDOS file system stopped working when I switch from 2.4.8 to 
> > 2.4.9.  I can mount the partition as "msdos" or even "vfat" but if
> > I use "umsdos" there are no files visible.  Has anyone else seen this?
> 
> Probably I think it related to change of filldir_t.
> This problem fixed with the following patch?
> --
> OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
> 
> diff -urN linux-2.4.9/fs/umsdos/dir.c umsdos_off_t-2.4.9/fs/umsdos/dir.c
> --- linux-2.4.9/fs/umsdos/dir.c	Sat Feb 10 04:29:44 2001
> +++ umsdos_off_t-2.4.9/fs/umsdos/dir.c	Sun Aug 19 16:13:25 2001
> @@ -67,7 +67,7 @@
>  static int umsdos_dir_once (	void *buf,
>  				const char *name,
>  				int len,
> -				off_t offset,
> +				loff_t offset,
>  				ino_t ino,
>  				unsigned type)
>  {
> diff -urN linux-2.4.9/fs/umsdos/ioctl.c umsdos_off_t-2.4.9/fs/umsdos/ioctl.c
> --- linux-2.4.9/fs/umsdos/ioctl.c	Thu Apr 19 03:49:13 2001
> +++ umsdos_off_t-2.4.9/fs/umsdos/ioctl.c	Sun Aug 19 16:16:36 2001
> @@ -28,7 +28,7 @@
>  				     void *buf,
>  				     const char *name,
>  				     int name_len,
> -				     off_t offset,
> +				     loff_t offset,
>  				     ino_t ino,
>  				     unsigned type)
>  {
> diff -urN linux-2.4.9/fs/umsdos/rdir.c umsdos_off_t-2.4.9/fs/umsdos/rdir.c
> --- linux-2.4.9/fs/umsdos/rdir.c	Sat Feb 10 04:29:44 2001
> +++ umsdos_off_t-2.4.9/fs/umsdos/rdir.c	Sun Aug 19 16:16:34 2001
> @@ -32,7 +32,7 @@
>  static int rdir_filldir (	void *buf,
>  				const char *name,
>  				int name_len,
> -				off_t offset,
> +				loff_t offset,
>  				ino_t ino,
>  				unsigned int d_type)
>  {

  reply	other threads:[~2001-08-20  3:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-19  2:24 UMSDOS problems in 2.4.9? Peter Fales
2001-08-19 19:24 ` OGAWA Hirofumi
2001-08-20  3:09   ` Peter Fales [this message]
2001-08-20 13:21     ` OGAWA Hirofumi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010819220940.A1464@lucent.com \
    --to=psfales@lucent.com \
    --cc=hirofumi@mail.parknet.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox