From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752716Ab0ESSJP (ORCPT ); Wed, 19 May 2010 14:09:15 -0400 Received: from terminus.zytor.com ([198.137.202.10]:53517 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751475Ab0ESSJO (ORCPT ); Wed, 19 May 2010 14:09:14 -0400 Message-ID: <4BF4279C.2000805@zytor.com> Date: Wed, 19 May 2010 11:02:04 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4 MIME-Version: 1.0 To: Frederic Weisbecker CC: Ingo Molnar , LKML , Autofs , Thomas Gleixner , John Kacur , Arnd Bergmann Subject: Re: [PATCH 2/8] autofs: Pushdown the bkl from ioctl References: <1274289855-10001-1-git-send-regression-fweisbec@gmail.com> <1274289855-10001-3-git-send-regression-fweisbec@gmail.com> In-Reply-To: <1274289855-10001-3-git-send-regression-fweisbec@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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