Re: [PATCH] direct-IO API change

From: Linus Torvalds (torvalds@transmeta.com)
Date: Fri Oct 04 2002 - 17:25:45 EST


On Fri, 4 Oct 2002, Chuck Lever wrote:
>
> this patch adds a "struct file *" argument to direct I/O. this is needed
> by NFS direct I/O to make the file's credentials available to direct I/O
> subroutines. we can't remove "struct inode *" yet because the raw driver
> still needs it.

Why isn't the raw driver changed to just use file->f_dentry->d_inode
instead?

                Linus

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



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:00:48 EST