Messages in this thread | | | Date | Thu, 12 Aug 2004 20:48:00 +0200 | From | Jens Axboe <> | Subject | Re: SG_IO and security |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |