[lkml]   [2008]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [JANITOR PROPOSAL] Switch ioctl functions to ->unlocked_ioctl
    On Wed, Jan 09, 2008 at 04:58:46PM -0600, Chris Friesen wrote:
    > Alasdair G Kergon wrote:
    > >On Wed, Jan 09, 2008 at 11:46:03PM +0100, Andi Kleen wrote:
    > >>struct inode *inode = file->f_dentry->d_inode;
    > >And oops if that's not defined?
    > Isn't this basically identical to what was being passed in to .ioctl()?

    Not in every case, unless someone's been through and created fake structures in
    all the remaining places that pass in a NULL 'file' because there isn't one


     \ /
      Last update: 2008-01-10 00:09    [W:0.025 / U:11.892 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site