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>
这个提交包含在:
Jonathan Corbet
2008-05-16 13:40:30 -06:00
父节点 39d95b9d85
当前提交 d21c95c569
修改 16 个文件,包含 23 行新增4 行删除

查看文件

@@ -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;