aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2018-06-08 21:51:47 +0000
committerAl Viro <[email protected]>2018-07-12 14:04:23 +0000
commitdbae8f2ca2f0586f4b80201c78ff0aed2a012ab5 (patch)
tree0b618461149acddbec699795aa5207e8f871237f
parentswitch atomic_open() and lookup_open() to returning 0 in all success cases (diff)
downloadkernel-dbae8f2ca2f0586f4b80201c78ff0aed2a012ab5.tar.gz
kernel-dbae8f2ca2f0586f4b80201c78ff0aed2a012ab5.zip
kill FILE_{CREATED,OPENED}
no users left Acked-by: Linus Torvalds <[email protected]> Signed-off-by: Al Viro <[email protected]>
-rw-r--r--include/linux/fs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index c25896b30e9f..bd904c496878 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -2436,10 +2436,6 @@ extern struct filename *getname(const char __user *);
extern struct filename *getname_kernel(const char *);
extern void putname(struct filename *name);
-enum {
- FILE_CREATED = 1,
- FILE_OPENED = 2
-};
extern int finish_open(struct file *file, struct dentry *dentry,
int (*open)(struct inode *, struct file *));
extern int finish_no_open(struct file *file, struct dentry *dentry);