Add "no BKL needed" comments to several drivers
This documents the fact that somebody looked at the relevant open() functions and concluded that, due to their trivial nature, no locking was needed. Signed-off-by: Jonathan Corbet <corbet@lwn.net>
这个提交包含在:
@@ -1027,6 +1027,8 @@ out:
|
||||
} /* End tw_chrdev_ioctl() */
|
||||
|
||||
/* This function handles open for the character device */
|
||||
/* NOTE that this function races with remove - adding BKL
|
||||
won't help */
|
||||
static int tw_chrdev_open(struct inode *inode, struct file *file)
|
||||
{
|
||||
unsigned int minor_number;
|
||||
|
在新工单中引用
屏蔽一个用户