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
bef41c26
Commit
bef41c26
authored
Jul 26, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exofs: propagate umode_t
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
c6e49e3f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
fs/exofs/dir.c
fs/exofs/dir.c
+1
-1
fs/exofs/exofs.h
fs/exofs/exofs.h
+1
-1
fs/exofs/inode.c
fs/exofs/inode.c
+1
-1
No files found.
fs/exofs/dir.c
View file @
bef41c26
...
@@ -234,7 +234,7 @@ static unsigned char exofs_type_by_mode[S_IFMT >> S_SHIFT] = {
...
@@ -234,7 +234,7 @@ static unsigned char exofs_type_by_mode[S_IFMT >> S_SHIFT] = {
static
inline
static
inline
void
exofs_set_de_type
(
struct
exofs_dir_entry
*
de
,
struct
inode
*
inode
)
void
exofs_set_de_type
(
struct
exofs_dir_entry
*
de
,
struct
inode
*
inode
)
{
{
mode_t
mode
=
inode
->
i_mode
;
u
mode_t
mode
=
inode
->
i_mode
;
de
->
file_type
=
exofs_type_by_mode
[(
mode
&
S_IFMT
)
>>
S_SHIFT
];
de
->
file_type
=
exofs_type_by_mode
[(
mode
&
S_IFMT
)
>>
S_SHIFT
];
}
}
...
...
fs/exofs/exofs.h
View file @
bef41c26
...
@@ -154,7 +154,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping,
...
@@ -154,7 +154,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping,
loff_t
pos
,
unsigned
len
,
unsigned
flags
,
loff_t
pos
,
unsigned
len
,
unsigned
flags
,
struct
page
**
pagep
,
void
**
fsdata
);
struct
page
**
pagep
,
void
**
fsdata
);
extern
struct
inode
*
exofs_iget
(
struct
super_block
*
,
unsigned
long
);
extern
struct
inode
*
exofs_iget
(
struct
super_block
*
,
unsigned
long
);
struct
inode
*
exofs_new_inode
(
struct
inode
*
,
in
t
);
struct
inode
*
exofs_new_inode
(
struct
inode
*
,
umode_
t
);
extern
int
exofs_write_inode
(
struct
inode
*
,
struct
writeback_control
*
wbc
);
extern
int
exofs_write_inode
(
struct
inode
*
,
struct
writeback_control
*
wbc
);
extern
void
exofs_evict_inode
(
struct
inode
*
);
extern
void
exofs_evict_inode
(
struct
inode
*
);
...
...
fs/exofs/inode.c
View file @
bef41c26
...
@@ -1276,7 +1276,7 @@ static void create_done(struct ore_io_state *ios, void *p)
...
@@ -1276,7 +1276,7 @@ static void create_done(struct ore_io_state *ios, void *p)
/*
/*
* Set up a new inode and create an object for it on the OSD
* Set up a new inode and create an object for it on the OSD
*/
*/
struct
inode
*
exofs_new_inode
(
struct
inode
*
dir
,
in
t
mode
)
struct
inode
*
exofs_new_inode
(
struct
inode
*
dir
,
umode_
t
mode
)
{
{
struct
super_block
*
sb
=
dir
->
i_sb
;
struct
super_block
*
sb
=
dir
->
i_sb
;
struct
exofs_sb_info
*
sbi
=
sb
->
s_fs_info
;
struct
exofs_sb_info
*
sbi
=
sb
->
s_fs_info
;
...
...
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