mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
getting rid of 'opened' argument of ->atomic_open() - part 1
'opened' argument of finish_open() is unused. Kill it. Signed-off-by Al Viro <[email protected]>
This commit is contained in:
parent
6035a27b25
commit
be12af3ef5
10 changed files with 12 additions and 14 deletions
|
|
@ -843,8 +843,7 @@ cleanup_file:
|
|||
* Returns zero on success or -errno if the open failed.
|
||||
*/
|
||||
int finish_open(struct file *file, struct dentry *dentry,
|
||||
int (*open)(struct inode *, struct file *),
|
||||
int *opened)
|
||||
int (*open)(struct inode *, struct file *))
|
||||
{
|
||||
BUG_ON(file->f_mode & FMODE_OPENED); /* once it's opened, it's opened */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue