Re: [PATCH] move BKL down a little in setfl

Linus Torvalds (torvalds@transmeta.com)
Wed, 21 Aug 2002 15:50:27 -0700 (PDT)


On Wed, 21 Aug 2002, Matthew Wilcox wrote:
>
> Nothing spectacular here, just push the BKL down a little.

This exits with the BKL held, as far as I can tell:

> + lock_kernel();
> + if ((arg ^ filp->f_flags) & FASYNC) {
> + if (filp->f_op && filp->f_op->fasync) {
> + int error;
> + error = filp->f_op->fasync(fd, filp, (arg & FASYNC) != 0);
> + if (error < 0)
> + return error;
^^^^^^^^^^^^
Here.

Linus

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