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
ad44be5c
Commit
ad44be5c
authored
Jul 26, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ubifs: propagate umode_t
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
5eee25ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
fs/ubifs/dir.c
fs/ubifs/dir.c
+2
-2
fs/ubifs/ubifs.h
fs/ubifs/ubifs.h
+1
-1
No files found.
fs/ubifs/dir.c
View file @
ad44be5c
...
...
@@ -56,7 +56,7 @@
*
* This function returns the inherited flags.
*/
static
int
inherit_flags
(
const
struct
inode
*
dir
,
in
t
mode
)
static
int
inherit_flags
(
const
struct
inode
*
dir
,
umode_
t
mode
)
{
int
flags
;
const
struct
ubifs_inode
*
ui
=
ubifs_inode
(
dir
);
...
...
@@ -86,7 +86,7 @@ static int inherit_flags(const struct inode *dir, int mode)
* case of failure.
*/
struct
inode
*
ubifs_new_inode
(
struct
ubifs_info
*
c
,
const
struct
inode
*
dir
,
in
t
mode
)
umode_
t
mode
)
{
struct
inode
*
inode
;
struct
ubifs_inode
*
ui
;
...
...
fs/ubifs/ubifs.h
View file @
ad44be5c
...
...
@@ -1734,7 +1734,7 @@ int ubifs_setattr(struct dentry *dentry, struct iattr *attr);
/* dir.c */
struct
inode
*
ubifs_new_inode
(
struct
ubifs_info
*
c
,
const
struct
inode
*
dir
,
in
t
mode
);
umode_
t
mode
);
int
ubifs_getattr
(
struct
vfsmount
*
mnt
,
struct
dentry
*
dentry
,
struct
kstat
*
stat
);
...
...
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