aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-06-10 06:48:09 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-14 08:33:45 -0400
commite45198a6ac24bd2c4ad4a43b670c2f1a23dd2df3 (patch)
treed44f4217a8a556ac9ebb11cfc41c0e148fb1084c /include
parent2675a4eb6a9f1240098721c8a84ede28abd9d7b3 (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.h2
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 {
2071extern int finish_open(struct file *file, struct dentry *dentry, 2071extern 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);
2074extern void finish_no_open(struct file *file, struct dentry *dentry); 2074extern int finish_no_open(struct file *file, struct dentry *dentry);
2075 2075
2076/* fs/ioctl.c */ 2076/* fs/ioctl.c */
2077 2077