diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-10 06:48:09 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-14 08:33:45 -0400 |
commit | e45198a6ac24bd2c4ad4a43b670c2f1a23dd2df3 (patch) | |
tree | d44f4217a8a556ac9ebb11cfc41c0e148fb1084c /include | |
parent | 2675a4eb6a9f1240098721c8a84ede28abd9d7b3 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 1dcc75c95763..17ee20dba86c 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -2071,7 +2071,7 @@ enum { | |||
2071 | extern int finish_open(struct file *file, struct dentry *dentry, | 2071 | extern int finish_open(struct file *file, struct dentry *dentry, |
2072 | int (*open)(struct inode *, struct file *), | 2072 | int (*open)(struct inode *, struct file *), |
2073 | int *opened); | 2073 | int *opened); |
2074 | extern void finish_no_open(struct file *file, struct dentry *dentry); | 2074 | extern int finish_no_open(struct file *file, struct dentry *dentry); |
2075 | 2075 | ||
2076 | /* fs/ioctl.c */ | 2076 | /* fs/ioctl.c */ |
2077 | 2077 | ||