Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
linux
Commits
67697cbd
Commit
67697cbd
authored
13 years ago
by
Al Viro
Browse files
Options
Download
Email Patches
Plain Diff
ocfs2: propagate umode_t
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
2b15ad06
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
fs/ocfs2/dlmfs/dlmfs.c
fs/ocfs2/dlmfs/dlmfs.c
+2
-2
fs/ocfs2/namei.c
fs/ocfs2/namei.c
+1
-1
fs/ocfs2/xattr.c
fs/ocfs2/xattr.c
+1
-1
fs/ocfs2/xattr.h
fs/ocfs2/xattr.h
+1
-1
No files found.
fs/ocfs2/dlmfs/dlmfs.c
View file @
67697cbd
...
...
@@ -400,7 +400,7 @@ static struct backing_dev_info dlmfs_backing_dev_info = {
static
struct
inode
*
dlmfs_get_root_inode
(
struct
super_block
*
sb
)
{
struct
inode
*
inode
=
new_inode
(
sb
);
in
t
mode
=
S_IFDIR
|
0755
;
umode_
t
mode
=
S_IFDIR
|
0755
;
struct
dlmfs_inode_private
*
ip
;
if
(
inode
)
{
...
...
@@ -421,7 +421,7 @@ static struct inode *dlmfs_get_root_inode(struct super_block *sb)
static
struct
inode
*
dlmfs_get_inode
(
struct
inode
*
parent
,
struct
dentry
*
dentry
,
in
t
mode
)
umode_
t
mode
)
{
struct
super_block
*
sb
=
parent
->
i_sb
;
struct
inode
*
inode
=
new_inode
(
sb
);
...
...
This diff is collapsed.
Click to expand it.
fs/ocfs2/namei.c
View file @
67697cbd
...
...
@@ -185,7 +185,7 @@ static struct dentry *ocfs2_lookup(struct inode *dir, struct dentry *dentry,
return
ret
;
}
static
struct
inode
*
ocfs2_get_init_inode
(
struct
inode
*
dir
,
in
t
mode
)
static
struct
inode
*
ocfs2_get_init_inode
(
struct
inode
*
dir
,
umode_
t
mode
)
{
struct
inode
*
inode
;
...
...
This diff is collapsed.
Click to expand it.
fs/ocfs2/xattr.c
View file @
67697cbd
...
...
@@ -623,7 +623,7 @@ int ocfs2_calc_security_init(struct inode *dir,
int
ocfs2_calc_xattr_init
(
struct
inode
*
dir
,
struct
buffer_head
*
dir_bh
,
in
t
mode
,
umode_
t
mode
,
struct
ocfs2_security_xattr_info
*
si
,
int
*
want_clusters
,
int
*
xattr_credits
,
...
...
This diff is collapsed.
Click to expand it.
fs/ocfs2/xattr.h
View file @
67697cbd
...
...
@@ -68,7 +68,7 @@ int ocfs2_calc_security_init(struct inode *,
struct
ocfs2_security_xattr_info
*
,
int
*
,
int
*
,
struct
ocfs2_alloc_context
**
);
int
ocfs2_calc_xattr_init
(
struct
inode
*
,
struct
buffer_head
*
,
in
t
,
struct
ocfs2_security_xattr_info
*
,
umode_
t
,
struct
ocfs2_security_xattr_info
*
,
int
*
,
int
*
,
int
*
);
/*
...
...
This diff is collapsed.
Click to expand it.
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