|
@@ -1528,6 +1528,9 @@ struct inode_operations {
|
|
umode_t create_mode, int *opened);
|
|
umode_t create_mode, int *opened);
|
|
int (*tmpfile) (struct inode *, struct dentry *, umode_t);
|
|
int (*tmpfile) (struct inode *, struct dentry *, umode_t);
|
|
int (*set_acl)(struct inode *, struct posix_acl *, int);
|
|
int (*set_acl)(struct inode *, struct posix_acl *, int);
|
|
|
|
+
|
|
|
|
+ /* WARNING: probably going away soon, do not use! */
|
|
|
|
+ int (*dentry_open)(struct dentry *, struct file *, const struct cred *);
|
|
} ____cacheline_aligned;
|
|
} ____cacheline_aligned;
|
|
|
|
|
|
ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector,
|
|
ssize_t rw_copy_check_uvector(int type, const struct iovec __user * uvector,
|
|
@@ -2040,6 +2043,7 @@ extern struct file *file_open_name(struct filename *, int, umode_t);
|
|
extern struct file *filp_open(const char *, int, umode_t);
|
|
extern struct file *filp_open(const char *, int, umode_t);
|
|
extern struct file *file_open_root(struct dentry *, struct vfsmount *,
|
|
extern struct file *file_open_root(struct dentry *, struct vfsmount *,
|
|
const char *, int);
|
|
const char *, int);
|
|
|
|
+extern int vfs_open(const struct path *, struct file *, const struct cred *);
|
|
extern struct file * dentry_open(const struct path *, int, const struct cred *);
|
|
extern struct file * dentry_open(const struct path *, int, const struct cred *);
|
|
extern int filp_close(struct file *, fl_owner_t id);
|
|
extern int filp_close(struct file *, fl_owner_t id);
|
|
|
|
|