mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
mpt: fasync BKL pushdown
It looks like this driver really needs the BKL here. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
parent
9465efc9e9
commit
b7e3e1fbf6
1 changed files with 5 additions and 1 deletions
|
@ -548,11 +548,15 @@ static int
|
|||
mptctl_fasync(int fd, struct file *filep, int mode)
|
||||
{
|
||||
MPT_ADAPTER *ioc;
|
||||
int ret;
|
||||
|
||||
lock_kernel();
|
||||
list_for_each_entry(ioc, &ioc_list, list)
|
||||
ioc->aen_event_read_flag=0;
|
||||
|
||||
return fasync_helper(fd, filep, mode, &async_queue);
|
||||
ret = fasync_helper(fd, filep, mode, &async_queue);
|
||||
unlock_kernel();
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Add table
Reference in a new issue