Re: SG_IO and security
From: Jens Axboe
Date: Thu Aug 12 2004 - 13:50:41 EST
On Thu, Aug 12 2004, Christoph Hellwig wrote:
> On Thu, Aug 12, 2004 at 08:43:42PM +0200, Jens Axboe wrote:
> > > If you have the struct file, can't you eliminate the inode argument?
> >
> > How so?
>
> file->f_dentry->d_inode
Ah, ok. IMHO that should be generally done for the file_op->ioctl then.
But could easily be killed here of course.
--
Jens Axboe
-
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/