mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 15:24:02 -04:00
Merge tag 'v4.11-rc5' into patchwork
Linux 4.11-rc5 * tag 'v4.11-rc5': (1168 commits) Linux 4.11-rc5 tty: pl011: fix earlycon work-around for QDF2400 erratum 44 kasan: do not sanitize kexec purgatory drivers/rapidio/devices/tsi721.c: make module parameter variable name unique mm/hugetlb.c: don't call region_abort if region_chg fails kasan: report only the first error by default hugetlbfs: initialize shared policy as part of inode allocation mm: fix section name for .data..ro_after_init mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd() mm: workingset: fix premature shadow node shrinking with cgroups mm: rmap: fix huge file mmap accounting in the memcg stats mm: move mm_percpu_wq initialization earlier mm: migrate: fix remove_migration_pte() for ksm pages nfs: flexfiles: fix kernel OOPS if MDS returns unsupported DS type NFSv4.1 fix infinite loop on IO BAD_STATEID error serial: 8250_EXAR: fix duplicate Kconfig text and add missing help text tty/serial: atmel: fix TX path in atmel_console_write() tty/serial: atmel: fix race condition (TX+DMA) serial: mxs-auart: Fix baudrate calculation irqchip/mips-gic: Fix Local compare interrupt ...
This commit is contained in:
@@ -437,6 +437,8 @@ int lirc_dev_fop_open(struct inode *inode, struct file *file)
|
||||
return -ERESTARTSYS;
|
||||
|
||||
ir = irctls[iminor(inode)];
|
||||
mutex_unlock(&lirc_dev_lock);
|
||||
|
||||
if (!ir) {
|
||||
retval = -ENODEV;
|
||||
goto error;
|
||||
@@ -473,8 +475,6 @@ int lirc_dev_fop_open(struct inode *inode, struct file *file)
|
||||
}
|
||||
|
||||
error:
|
||||
mutex_unlock(&lirc_dev_lock);
|
||||
|
||||
nonseekable_open(inode, file);
|
||||
|
||||
return retval;
|
||||
|
||||
Reference in New Issue
Block a user