make finish_no_open() return int

namely, 1 ;-)  That's what we want to return from ->atomic_open()
instances after finish_no_open().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2012-06-10 06:48:09 -04:00
parent 2675a4eb6a
commit e45198a6ac
8 changed files with 12 additions and 20 deletions

View File

@@ -2071,7 +2071,7 @@ enum {
extern int finish_open(struct file *file, struct dentry *dentry,
int (*open)(struct inode *, struct file *),
int *opened);
extern void finish_no_open(struct file *file, struct dentry *dentry);
extern int finish_no_open(struct file *file, struct dentry *dentry);
/* fs/ioctl.c */