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
67697cbd
Commit
67697cbd
authored
Jul 26, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ocfs2: propagate umode_t
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
2b15ad06
Changes
4
Show 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 = {
...
@@ -400,7 +400,7 @@ static struct backing_dev_info dlmfs_backing_dev_info = {
static
struct
inode
*
dlmfs_get_root_inode
(
struct
super_block
*
sb
)
static
struct
inode
*
dlmfs_get_root_inode
(
struct
super_block
*
sb
)
{
{
struct
inode
*
inode
=
new_inode
(
sb
);
struct
inode
*
inode
=
new_inode
(
sb
);
in
t
mode
=
S_IFDIR
|
0755
;
umode_
t
mode
=
S_IFDIR
|
0755
;
struct
dlmfs_inode_private
*
ip
;
struct
dlmfs_inode_private
*
ip
;
if
(
inode
)
{
if
(
inode
)
{
...
@@ -421,7 +421,7 @@ static struct inode *dlmfs_get_root_inode(struct super_block *sb)
...
@@ -421,7 +421,7 @@ static struct inode *dlmfs_get_root_inode(struct super_block *sb)
static
struct
inode
*
dlmfs_get_inode
(
struct
inode
*
parent
,
static
struct
inode
*
dlmfs_get_inode
(
struct
inode
*
parent
,
struct
dentry
*
dentry
,
struct
dentry
*
dentry
,
in
t
mode
)
umode_
t
mode
)
{
{
struct
super_block
*
sb
=
parent
->
i_sb
;
struct
super_block
*
sb
=
parent
->
i_sb
;
struct
inode
*
inode
=
new_inode
(
sb
);
struct
inode
*
inode
=
new_inode
(
sb
);
...
...
fs/ocfs2/namei.c
View file @
67697cbd
...
@@ -185,7 +185,7 @@ static struct dentry *ocfs2_lookup(struct inode *dir, struct dentry *dentry,
...
@@ -185,7 +185,7 @@ static struct dentry *ocfs2_lookup(struct inode *dir, struct dentry *dentry,
return
ret
;
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
;
struct
inode
*
inode
;
...
...
fs/ocfs2/xattr.c
View file @
67697cbd
...
@@ -623,7 +623,7 @@ int ocfs2_calc_security_init(struct inode *dir,
...
@@ -623,7 +623,7 @@ int ocfs2_calc_security_init(struct inode *dir,
int
ocfs2_calc_xattr_init
(
struct
inode
*
dir
,
int
ocfs2_calc_xattr_init
(
struct
inode
*
dir
,
struct
buffer_head
*
dir_bh
,
struct
buffer_head
*
dir_bh
,
in
t
mode
,
umode_
t
mode
,
struct
ocfs2_security_xattr_info
*
si
,
struct
ocfs2_security_xattr_info
*
si
,
int
*
want_clusters
,
int
*
want_clusters
,
int
*
xattr_credits
,
int
*
xattr_credits
,
...
...
fs/ocfs2/xattr.h
View file @
67697cbd
...
@@ -68,7 +68,7 @@ int ocfs2_calc_security_init(struct inode *,
...
@@ -68,7 +68,7 @@ int ocfs2_calc_security_init(struct inode *,
struct
ocfs2_security_xattr_info
*
,
struct
ocfs2_security_xattr_info
*
,
int
*
,
int
*
,
struct
ocfs2_alloc_context
**
);
int
*
,
int
*
,
struct
ocfs2_alloc_context
**
);
int
ocfs2_calc_xattr_init
(
struct
inode
*
,
struct
buffer_head
*
,
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
*
);
int
*
,
int
*
,
int
*
);
/*
/*
...
...
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