diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-11-21 14:59:34 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:55:19 -0500 |
commit | a218d0fdc5f9004164ff151d274487f6799907d0 (patch) | |
tree | 24ea22ffb4aadb1fedff50c4a7fcb17af1981459 /include/linux/fs.h | |
parent | 04fc66e789a896e684bfdca30208e57eb832dd96 (diff) | |
download | op-kernel-dev-a218d0fdc5f9004164ff151d274487f6799907d0.zip op-kernel-dev-a218d0fdc5f9004164ff151d274487f6799907d0.tar.gz |
switch open and mkdir syscalls to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 9d02fab..f0e57b7 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2054,8 +2054,8 @@ extern int do_truncate(struct dentry *, loff_t start, unsigned int time_attrs, extern int do_fallocate(struct file *file, int mode, loff_t offset, loff_t len); extern long do_sys_open(int dfd, const char __user *filename, int flags, - int mode); -extern struct file *filp_open(const char *, int, int); + umode_t mode); +extern struct file *filp_open(const char *, int, umode_t); extern struct file *file_open_root(struct dentry *, struct vfsmount *, const char *, int); extern struct file * dentry_open(struct dentry *, struct vfsmount *, int, |