VFS Documentation (Was: Re: Bug in the kernel ?)

Peter Denison (peterd@pnd-pc.demon.co.uk)
Thu, 21 Nov 1996 17:47:36 +0000 (GMT)


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.