summaryrefslogtreecommitdiffstats
path: root/fs/proc/self.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-03-29 17:23:28 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-09 20:13:05 +0200
commit0ecc833bac594099505a090cbca6ccd5b83d5975 (patch)
tree399f524f078636335aeb465f805eff6ed27137b1 /fs/proc/self.c
parentsnd_info_register: switch to proc_create_data/proc_mkdir_mode (diff)
downloadlinux-0ecc833bac594099505a090cbca6ccd5b83d5975.tar.xz
linux-0ecc833bac594099505a090cbca6ccd5b83d5975.zip
mode_t, whack-a-mole at 11...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc/self.c')
-rw-r--r--fs/proc/self.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/self.c b/fs/proc/self.c
index aa5cc3bff140..d8a025296613 100644
--- a/fs/proc/self.c
+++ b/fs/proc/self.c
@@ -51,7 +51,7 @@ static const struct inode_operations proc_self_inode_operations = {
void __init proc_self_init(void)
{
struct proc_dir_entry *proc_self_symlink;
- mode_t mode;
+ umode_t mode;
mode = S_IFLNK | S_IRWXUGO;
proc_self_symlink = proc_create("self", mode, NULL, NULL );