Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
fbd48a69
Commit
fbd48a69
authored
Jul 24, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch devtmpfs to umode_t
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
f4ae40a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/base/devtmpfs.c
drivers/base/devtmpfs.c
+3
-3
No files found.
drivers/base/devtmpfs.c
View file @
fbd48a69
...
@@ -142,7 +142,7 @@ int devtmpfs_delete_node(struct device *dev)
...
@@ -142,7 +142,7 @@ int devtmpfs_delete_node(struct device *dev)
return
req
.
err
;
return
req
.
err
;
}
}
static
int
dev_mkdir
(
const
char
*
name
,
mode_t
mode
)
static
int
dev_mkdir
(
const
char
*
name
,
u
mode_t
mode
)
{
{
struct
dentry
*
dentry
;
struct
dentry
*
dentry
;
struct
path
path
;
struct
path
path
;
...
@@ -189,7 +189,7 @@ static int create_path(const char *nodepath)
...
@@ -189,7 +189,7 @@ static int create_path(const char *nodepath)
return
err
;
return
err
;
}
}
static
int
handle_create
(
const
char
*
nodename
,
mode_t
mode
,
struct
device
*
dev
)
static
int
handle_create
(
const
char
*
nodename
,
u
mode_t
mode
,
struct
device
*
dev
)
{
{
struct
dentry
*
dentry
;
struct
dentry
*
dentry
;
struct
path
path
;
struct
path
path
;
...
@@ -378,7 +378,7 @@ int devtmpfs_mount(const char *mntdir)
...
@@ -378,7 +378,7 @@ int devtmpfs_mount(const char *mntdir)
static
DECLARE_COMPLETION
(
setup_done
);
static
DECLARE_COMPLETION
(
setup_done
);
static
int
handle
(
const
char
*
name
,
mode_t
mode
,
struct
device
*
dev
)
static
int
handle
(
const
char
*
name
,
u
mode_t
mode
,
struct
device
*
dev
)
{
{
if
(
mode
)
if
(
mode
)
return
handle_create
(
name
,
mode
,
dev
);
return
handle_create
(
name
,
mode
,
dev
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment