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
dcca3fec
Commit
dcca3fec
authored
Jul 26, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ext4: propagate umode_t
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
69b34f3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
fs/ext4/ext4.h
fs/ext4/ext4.h
+1
-1
fs/ext4/ialloc.c
fs/ext4/ialloc.c
+4
-4
No files found.
fs/ext4/ext4.h
View file @
dcca3fec
...
...
@@ -1819,7 +1819,7 @@ extern int ext4fs_dirhash(const char *name, int len, struct
dx_hash_info
*
hinfo
);
/* ialloc.c */
extern
struct
inode
*
ext4_new_inode
(
handle_t
*
,
struct
inode
*
,
in
t
,
extern
struct
inode
*
ext4_new_inode
(
handle_t
*
,
struct
inode
*
,
umode_
t
,
const
struct
qstr
*
qstr
,
__u32
goal
,
uid_t
*
owner
);
extern
void
ext4_free_inode
(
handle_t
*
,
struct
inode
*
);
...
...
fs/ext4/ialloc.c
View file @
dcca3fec
...
...
@@ -351,7 +351,7 @@ static void get_orlov_stats(struct super_block *sb, ext4_group_t g,
*/
static
int
find_group_orlov
(
struct
super_block
*
sb
,
struct
inode
*
parent
,
ext4_group_t
*
group
,
in
t
mode
,
ext4_group_t
*
group
,
umode_
t
mode
,
const
struct
qstr
*
qstr
)
{
ext4_group_t
parent_group
=
EXT4_I
(
parent
)
->
i_block_group
;
...
...
@@ -497,7 +497,7 @@ static int find_group_orlov(struct super_block *sb, struct inode *parent,
}
static
int
find_group_other
(
struct
super_block
*
sb
,
struct
inode
*
parent
,
ext4_group_t
*
group
,
in
t
mode
)
ext4_group_t
*
group
,
umode_
t
mode
)
{
ext4_group_t
parent_group
=
EXT4_I
(
parent
)
->
i_block_group
;
ext4_group_t
i
,
last
,
ngroups
=
ext4_get_groups_count
(
sb
);
...
...
@@ -602,7 +602,7 @@ static int find_group_other(struct super_block *sb, struct inode *parent,
*/
static
int
ext4_claim_inode
(
struct
super_block
*
sb
,
struct
buffer_head
*
inode_bitmap_bh
,
unsigned
long
ino
,
ext4_group_t
group
,
in
t
mode
)
unsigned
long
ino
,
ext4_group_t
group
,
umode_
t
mode
)
{
int
free
=
0
,
retval
=
0
,
count
;
struct
ext4_sb_info
*
sbi
=
EXT4_SB
(
sb
);
...
...
@@ -690,7 +690,7 @@ static int ext4_claim_inode(struct super_block *sb,
* For other inodes, search forward from the parent directory's block
* group to find a free inode.
*/
struct
inode
*
ext4_new_inode
(
handle_t
*
handle
,
struct
inode
*
dir
,
in
t
mode
,
struct
inode
*
ext4_new_inode
(
handle_t
*
handle
,
struct
inode
*
dir
,
umode_
t
mode
,
const
struct
qstr
*
qstr
,
__u32
goal
,
uid_t
*
owner
)
{
struct
super_block
*
sb
;
...
...
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