public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mike Fedyk <mfedyk@matchmail.com>
To: Philippe De Muyter <phdm@macqel.be>
Cc: urban@teststation.com, linux-kernel@vger.kernel.org
Subject: Re: PATCH: smbfs and >2Gb files
Date: Mon, 3 Jun 2002 20:40:50 -0700	[thread overview]
Message-ID: <20020604034050.GB448@matchmail.com> (raw)
In-Reply-To: <200206031318.g53DIpS08552@mail.macqel.be>

On Mon, Jun 03, 2002 at 03:18:51PM +0200, Philippe De Muyter wrote:
> Hello,
> 
> One of my workmates created a >2Gb file on a MS-Windows server. That works
> perfectly.  He exported the partition and looked at it from another
> MS-Windows machine, where he can see the right size.  But when we look
> at the file from a linux machine, the reported size is plain wrong (it
> is actually the real size on 32-bit, extended to 64 bit as a signed 32 bit
> value, thus prefixed with 0xffffffff, and then printed as an unsigned 64 bit
> value.).  Not only does `ls -l' not work, but other accesses to the file are
> also impossible.
> 
> Here is a fix (tested on 2.2.16 and 2.4.18) :
> 
> --- include/linux/smb.hbk	Fri May 31 16:43:54 2002
> +++ include/linux/smb.h	Fri May 31 17:55:49 2002
> @@ -85,7 +85,7 @@
>  	uid_t		f_uid;
>  	gid_t		f_gid;
>  	kdev_t		f_rdev;
> -	off_t		f_size;
> +	size_t		f_size;
>  	time_t		f_atime;
>  	time_t		f_mtime;
>  	time_t		f_ctime;
> 
> Is it possible to incorporate that in the official linux kernel tree ?
> 

You should ask Urban (CCed).  He's the one that made the patch for 2.5, and
ye'll probably have something for 2.4 and maybe 2.2.

  parent reply	other threads:[~2002-06-04  3:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-03 13:18 PATCH: smbfs and >2Gb files Philippe De Muyter
2002-06-03 17:40 ` Thunder from the hill
2002-06-04  3:40 ` Mike Fedyk [this message]
2002-06-05  0:13 ` Urban Widmark

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=20020604034050.GB448@matchmail.com \
    --to=mfedyk@matchmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phdm@macqel.be \
    --cc=urban@teststation.com \
    /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