switch procfs to umode_t use

both proc_dir_entry ->mode and populating functions

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2011-07-24 03:36:29 -04:00
parent 587a1f1659
commit d161a13f97
13 changed files with 31 additions and 32 deletions

View file

@ -920,7 +920,7 @@ __IDE_PROC_DEVSET(_name, _min, _max, NULL, NULL)
typedef struct {
const char *name;
mode_t mode;
umode_t mode;
const struct file_operations *proc_fops;
} ide_proc_entry_t;