Re: [PATCH] smbfs: Large File Support (3/3) (fwd)

From: Urban Widmark
Date: Fri Jan 30 2004 - 11:04:06 EST


On Fri, 30 Jan 2004, Marcelo Tosatti wrote:

>
> Urban?
>
> ---------- Forwarded message ----------
> Date: Wed, 28 Jan 2004 14:21:53 -0500
> From: Arjan van de Ven <arjanv@xxxxxxxxxx>
> To: Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>
> Subject: Re: [PATCH] smbfs: Large File Support (3/3)
>
> On Wed, 2004-01-28 at 06:05, Linux Kernel Mailing List wrote:
>
> > diff -Nru a/include/linux/smb.h b/include/linux/smb.h
> > --- a/include/linux/smb.h Wed Jan 28 04:02:56 2004
> > +++ b/include/linux/smb.h Wed Jan 28 04:02:56 2004
> > @@ -85,7 +85,7 @@
> > uid_t f_uid;
> > gid_t f_gid;
> > kdev_t f_rdev;
> > - off_t f_size;
> > + loff_t f_size;
> > time_t f_atime;
> > time_t f_mtime;
> > time_t f_ctime;
>
> ehhmmmm doesn't this change the userspace ABI incompatibly ???

How would userspace get access to a smb_fattr struct?
(Which ioctl/syscall, etc? Not that they can include the header.)

It is used internally to keep data that you would otherwise find in the
inode, and data is copied to/from the corresponding inode fields for some
operations.

What am I missing?

/Urban

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