mode_t, whack-a-mole at 11...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2013-03-29 12:23:28 -04:00
parent aee0c612b1
commit 0ecc833bac
7 changed files with 9 additions and 9 deletions

View File

@@ -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 );