mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
allow build_open_flags() to return an error
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
50cd2c5776
commit
f9652e10c1
4 changed files with 41 additions and 31 deletions
|
|
@ -96,11 +96,12 @@ struct open_flags {
|
|||
umode_t mode;
|
||||
int acc_mode;
|
||||
int intent;
|
||||
int lookup_flags;
|
||||
};
|
||||
extern struct file *do_filp_open(int dfd, struct filename *pathname,
|
||||
const struct open_flags *op, int flags);
|
||||
const struct open_flags *op);
|
||||
extern struct file *do_file_open_root(struct dentry *, struct vfsmount *,
|
||||
const char *, const struct open_flags *, int lookup_flags);
|
||||
const char *, const struct open_flags *);
|
||||
|
||||
extern long do_handle_open(int mountdirfd,
|
||||
struct file_handle __user *ufh, int open_flag);
|
||||
|
|
|
|||
Loading…
Reference in a new issue