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
587228be
Commit
587228be
authored
Jul 24, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
omfs: propagate umode_t
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
8e071892
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
fs/omfs/dir.c
fs/omfs/dir.c
+1
-1
fs/omfs/inode.c
fs/omfs/inode.c
+1
-1
fs/omfs/omfs.h
fs/omfs/omfs.h
+1
-1
No files found.
fs/omfs/dir.c
View file @
587228be
...
...
@@ -255,7 +255,7 @@ static int omfs_remove(struct inode *dir, struct dentry *dentry)
return
0
;
}
static
int
omfs_add_node
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
in
t
mode
)
static
int
omfs_add_node
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
umode_
t
mode
)
{
int
err
;
struct
inode
*
inode
=
omfs_new_inode
(
dir
,
mode
);
...
...
fs/omfs/inode.c
View file @
587228be
...
...
@@ -28,7 +28,7 @@ struct buffer_head *omfs_bread(struct super_block *sb, sector_t block)
return
sb_bread
(
sb
,
clus_to_blk
(
sbi
,
block
));
}
struct
inode
*
omfs_new_inode
(
struct
inode
*
dir
,
in
t
mode
)
struct
inode
*
omfs_new_inode
(
struct
inode
*
dir
,
umode_
t
mode
)
{
struct
inode
*
inode
;
u64
new_block
;
...
...
fs/omfs/omfs.h
View file @
587228be
...
...
@@ -60,7 +60,7 @@ extern int omfs_shrink_inode(struct inode *inode);
/* inode.c */
extern
struct
buffer_head
*
omfs_bread
(
struct
super_block
*
sb
,
sector_t
block
);
extern
struct
inode
*
omfs_iget
(
struct
super_block
*
sb
,
ino_t
inode
);
extern
struct
inode
*
omfs_new_inode
(
struct
inode
*
dir
,
in
t
mode
);
extern
struct
inode
*
omfs_new_inode
(
struct
inode
*
dir
,
umode_
t
mode
);
extern
int
omfs_reserve_block
(
struct
super_block
*
sb
,
sector_t
block
);
extern
int
omfs_find_empty_block
(
struct
super_block
*
sb
,
int
mode
,
ino_t
*
ino
);
extern
int
omfs_sync_inode
(
struct
inode
*
inode
);
...
...
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