lkml.org 
[lkml]   [2010]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/8] autofs: Pushdown the bkl from ioctl
    On 05/19/2010 10:24 AM, Frederic Weisbecker wrote:
    > * generate kernel reactions
    > */
    > -static int autofs_root_ioctl(struct inode *inode, struct file *filp,
    > +static int autofs_root_ioctl_unlocked(struct inode *inode, struct file *filp,
    > unsigned int cmd, unsigned long arg)
    > {
    > struct autofs_sb_info *sbi = autofs_sbi(inode->i_sb);
    > @@ -579,3 +579,16 @@ static int autofs_root_ioctl(struct inode *inode, struct file *filp,
    > return -ENOSYS;
    > }
    > }
    > +
    > +static long autofs_root_ioctl(struct file *filp,
    > + unsigned int cmd, unsigned long arg)
    > +{

    The choice of naming here seems reverse in my opinion.

    -hpa


    \
     
     \ /
      Last update: 2010-05-19 21:24    [W:0.021 / U:92.144 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site