lkml.org 
[lkml]   [1996]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectVFS Documentation (Was: Re: Bug in the kernel ?)

On Wed, 20 Nov 1996, Benjamin C R LaHaise wrote:

[ A large patch - including VFS Documentation - good show! ]

> +
> +struct file_operations
> +======================
> +
> + int (*lseek) (struct inode *, struct file *, off_t, int);
> + int (*read) (struct inode *, struct file *, char *, int);
> + int (*write) (struct inode *, struct file *, const char *, int);

Note that in the 2.1.xx series (you were going to extend the documentation
to cover that weren't you :-) these have now changed to:

long long (*llseek) (struct inode *, struct file *, long long, int);
long (*read) (struct inode *, struct file *, char *, unsigned long);
long (*write) (struct inode *, struct file *, const char *, unsigned long);

[ Rest of patch deleted ]

Rather a lot of drivers had to be changed because of this....

Cheers,
Peter

P.S. What was that virtual hostname stuff in the proc fs?

--
Peter Denison <peterd@pnd-pc.demon.co.uk>
Currently (still) working on a driver for Promise cards under Linux.


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.559 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site