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

@@ -56,7 +56,7 @@
/* Structure used to define /proc entries */
typedef struct _i2o_proc_entry_t {
char *name; /* entry name */
mode_t mode; /* mode */
umode_t mode; /* mode */
const struct file_operations *fops; /* open function */
} i2o_proc_entry;