Re: [patch 11/28] nvram: Drop the bkl from nvram_llseek()

From: Frederic Weisbecker
Date: Sun Oct 11 2009 - 18:16:16 EST


On Sun, Oct 11, 2009 at 11:50:24PM +0200, Arnd Bergmann wrote:
> On Sunday 11 October 2009, Frederic Weisbecker wrote:
> > Now I'm adding the ioctl() sites too:
> >
> > git-grep "\.ioctl *=" | grep -P "^\S+\.c" | wc -l
> > 452
> >
> > Hehe :)
>
> Not all of them, fortunately.
>
> There are various *_operations structures that have a .ioctl pointer.
> While there are a lot of struct file_operations with a locked .ioctl
> operation, stuff like block_device_operations does not hold the
> BKL in .ioctl but in .locked_ioctl.
>
> Arnd <><


Oh right. Thanks for the tip.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/