mode_t whack-a-mole: task_dump_owner()

should be umode_t...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2017-09-30 14:45:42 -04:00
parent 2bd6bf03f4
commit c6eb50d279
2 changed files with 2 additions and 2 deletions

View File

@ -1681,7 +1681,7 @@ const struct inode_operations proc_pid_link_inode_operations = {
/* building an inode */ /* building an inode */
void task_dump_owner(struct task_struct *task, mode_t mode, void task_dump_owner(struct task_struct *task, umode_t mode,
kuid_t *ruid, kgid_t *rgid) kuid_t *ruid, kgid_t *rgid)
{ {
/* Depending on the state of dumpable compute who should own a /* Depending on the state of dumpable compute who should own a

View File

@ -100,7 +100,7 @@ static inline struct task_struct *get_proc_task(struct inode *inode)
return get_pid_task(proc_pid(inode), PIDTYPE_PID); return get_pid_task(proc_pid(inode), PIDTYPE_PID);
} }
void task_dump_owner(struct task_struct *task, mode_t mode, void task_dump_owner(struct task_struct *task, umode_t mode,
kuid_t *ruid, kgid_t *rgid); kuid_t *ruid, kgid_t *rgid);
static inline unsigned name_to_int(const struct qstr *qstr) static inline unsigned name_to_int(const struct qstr *qstr)