diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-24 16:47:56 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-04 04:54:57 +0100 |
commit | fbd48a69a0b576dd8cba01b2b4fc24fad76f1b68 (patch) | |
tree | 66b1dd2d4093f7b6156296be0f09bea535c6053e /drivers/base/devtmpfs.c | |
parent | switch debugfs to umode_t (diff) | |
download | linux-fbd48a69a0b576dd8cba01b2b4fc24fad76f1b68.tar.xz linux-fbd48a69a0b576dd8cba01b2b4fc24fad76f1b68.zip |
switch devtmpfs to umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/base/devtmpfs.c')
-rw-r--r-- | drivers/base/devtmpfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c index 3990f682e690..393f450cf43c 100644 --- a/drivers/base/devtmpfs.c +++ b/drivers/base/devtmpfs.c @@ -142,7 +142,7 @@ int devtmpfs_delete_node(struct device *dev) return req.err; } -static int dev_mkdir(const char *name, mode_t mode) +static int dev_mkdir(const char *name, umode_t mode) { struct dentry *dentry; struct path path; @@ -189,7 +189,7 @@ static int create_path(const char *nodepath) return err; } -static int handle_create(const char *nodename, mode_t mode, struct device *dev) +static int handle_create(const char *nodename, umode_t mode, struct device *dev) { struct dentry *dentry; struct path path; @@ -378,7 +378,7 @@ int devtmpfs_mount(const char *mntdir) static DECLARE_COMPLETION(setup_done); -static int handle(const char *name, mode_t mode, struct device *dev) +static int handle(const char *name, umode_t mode, struct device *dev) { if (mode) return handle_create(name, mode, dev); |