Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280222
b: refs/heads/master
c: fbd48a6
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jan 4, 2012
1 parent 6961cee commit d4b2bab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f4ae40a6a50a98ac23d4b285f739455e926a473e
refs/heads/master: fbd48a69a0b576dd8cba01b2b4fc24fad76f1b68
6 changes: 3 additions & 3 deletions trunk/drivers/base/devtmpfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit d4b2bab

Please sign in to comment.