Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bcaa0bd authored by Jonathan Corbet's avatar Jonathan Corbet
Browse files

isdn: cdev lock_kernel() pushdown



Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 46787b48
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1732,7 +1732,7 @@ isdn_open(struct inode *ino, struct file *filep)
	int chidx;
	int retval = -ENODEV;


	lock_kernel();
	if (minor == ISDN_MINOR_STATUS) {
		infostruct *p;

@@ -1783,6 +1783,7 @@ isdn_open(struct inode *ino, struct file *filep)
#endif
 out:
	nonseekable_open(ino, filep);
	unlock_kernel();
	return retval;
}