Skip to content

Commit

Permalink
mode_t whack-a-mole: task_dump_owner()
Browse files Browse the repository at this point in the history
should be umode_t...

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Sep 30, 2017
1 parent 2bd6bf0 commit c6eb50d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs/proc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -1681,7 +1681,7 @@ const struct inode_operations proc_pid_link_inode_operations = {

/* 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)
{
/* Depending on the state of dumpable compute who should own a
Expand Down
2 changes: 1 addition & 1 deletion fs/proc/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ static inline struct task_struct *get_proc_task(struct inode *inode)
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);

static inline unsigned name_to_int(const struct qstr *qstr)
Expand Down

0 comments on commit c6eb50d

Please sign in to comment.