diff options
Diffstat (limited to 'fs/proc/generic.c')
-rw-r--r-- | fs/proc/generic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/proc/generic.c b/fs/proc/generic.c index 10090d9c7ad5..2edf34f2eb61 100644 --- a/fs/proc/generic.c +++ b/fs/proc/generic.c | |||
@@ -597,7 +597,7 @@ static int proc_register(struct proc_dir_entry * dir, struct proc_dir_entry * dp | |||
597 | 597 | ||
598 | static struct proc_dir_entry *__proc_create(struct proc_dir_entry **parent, | 598 | static struct proc_dir_entry *__proc_create(struct proc_dir_entry **parent, |
599 | const char *name, | 599 | const char *name, |
600 | mode_t mode, | 600 | umode_t mode, |
601 | nlink_t nlink) | 601 | nlink_t nlink) |
602 | { | 602 | { |
603 | struct proc_dir_entry *ent = NULL; | 603 | struct proc_dir_entry *ent = NULL; |
@@ -659,7 +659,7 @@ struct proc_dir_entry *proc_symlink(const char *name, | |||
659 | } | 659 | } |
660 | EXPORT_SYMBOL(proc_symlink); | 660 | EXPORT_SYMBOL(proc_symlink); |
661 | 661 | ||
662 | struct proc_dir_entry *proc_mkdir_mode(const char *name, mode_t mode, | 662 | struct proc_dir_entry *proc_mkdir_mode(const char *name, umode_t mode, |
663 | struct proc_dir_entry *parent) | 663 | struct proc_dir_entry *parent) |
664 | { | 664 | { |
665 | struct proc_dir_entry *ent; | 665 | struct proc_dir_entry *ent; |
@@ -699,7 +699,7 @@ struct proc_dir_entry *proc_mkdir(const char *name, | |||
699 | } | 699 | } |
700 | EXPORT_SYMBOL(proc_mkdir); | 700 | EXPORT_SYMBOL(proc_mkdir); |
701 | 701 | ||
702 | struct proc_dir_entry *create_proc_entry(const char *name, mode_t mode, | 702 | struct proc_dir_entry *create_proc_entry(const char *name, umode_t mode, |
703 | struct proc_dir_entry *parent) | 703 | struct proc_dir_entry *parent) |
704 | { | 704 | { |
705 | struct proc_dir_entry *ent; | 705 | struct proc_dir_entry *ent; |
@@ -728,7 +728,7 @@ struct proc_dir_entry *create_proc_entry(const char *name, mode_t mode, | |||
728 | } | 728 | } |
729 | EXPORT_SYMBOL(create_proc_entry); | 729 | EXPORT_SYMBOL(create_proc_entry); |
730 | 730 | ||
731 | struct proc_dir_entry *proc_create_data(const char *name, mode_t mode, | 731 | struct proc_dir_entry *proc_create_data(const char *name, umode_t mode, |
732 | struct proc_dir_entry *parent, | 732 | struct proc_dir_entry *parent, |
733 | const struct file_operations *proc_fops, | 733 | const struct file_operations *proc_fops, |
734 | void *data) | 734 | void *data) |