Hi,
recently I post a patch to remove the lock_kernel() in the
ioctl() of drivers/block/loop.c. After that Andrew Morton add a
a change where he gets the inode pointer from
file->f_mapping->host, needed because loop.c now uses
unlocked_ioctl(). Reading the do_ioctl() code in fs/ioctl.c I
see that there the inode pointer is get from
filp->f_path.dentry->d_inode.
So, which inode pointer do i should use? Are the the same
always?
--
--------------
Diego Woitasen
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ