From: Linus Torvalds Subject: Re: [PATCH] direct-IO API change Date: Fri, 4 Oct 2002 15:25:45 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Linux Kernel Mailing List , Linux NFS List Return-path: To: Chuck Lever In-Reply-To: List-ID: 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