Skip to content
Commit 4a6a4499 authored by Jonathan Corbet's avatar Jonathan Corbet
Browse files

Fix a lockdep warning in fasync_helper()



Lockdep gripes if file->f_lock is taken in a no-IRQ situation, since that
is not always the case.  We don't really want to disable IRQs for every
acquisition of f_lock; instead, just move it outside of fasync_lock.

Reported-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Reported-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Reported-by: default avatarWu Fengguang <fengguang.wu@intel.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 996ff68d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment