Re: [PATCH 0/3] cdev: Generic shutdown handling

2021-01-30 Thread Dan Williams
On Wed, Jan 20, 2021 at 11:38 AM Dan Williams wrote: > > After reviewing driver submissions with new cdev + ioctl usages one > common stumbling block is coordinating the shutdown of the ioctl path, > or other file operations, at driver ->remove() time. While cdev_del() > guarantees that no new fil

[PATCH 0/3] cdev: Generic shutdown handling

2021-01-20 Thread Dan Williams
After reviewing driver submissions with new cdev + ioctl usages one common stumbling block is coordinating the shutdown of the ioctl path, or other file operations, at driver ->remove() time. While cdev_del() guarantees that no new file descriptors will be established, operations on existing file d