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
nexedi
linux
Commits
c6e49e3f
Commit
c6e49e3f
authored
Jul 26, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nilfs: propagate umode_t
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
64f1426f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
fs/nilfs2/dir.c
fs/nilfs2/dir.c
+1
-1
fs/nilfs2/inode.c
fs/nilfs2/inode.c
+1
-1
fs/nilfs2/nilfs.h
fs/nilfs2/nilfs.h
+1
-1
No files found.
fs/nilfs2/dir.c
View file @
c6e49e3f
...
...
@@ -251,7 +251,7 @@ nilfs_type_by_mode[S_IFMT >> S_SHIFT] = {
static
void
nilfs_set_de_type
(
struct
nilfs_dir_entry
*
de
,
struct
inode
*
inode
)
{
mode_t
mode
=
inode
->
i_mode
;
u
mode_t
mode
=
inode
->
i_mode
;
de
->
file_type
=
nilfs_type_by_mode
[(
mode
&
S_IFMT
)
>>
S_SHIFT
];
}
...
...
fs/nilfs2/inode.c
View file @
c6e49e3f
...
...
@@ -291,7 +291,7 @@ const struct address_space_operations nilfs_aops = {
.
is_partially_uptodate
=
block_is_partially_uptodate
,
};
struct
inode
*
nilfs_new_inode
(
struct
inode
*
dir
,
in
t
mode
)
struct
inode
*
nilfs_new_inode
(
struct
inode
*
dir
,
umode_
t
mode
)
{
struct
super_block
*
sb
=
dir
->
i_sb
;
struct
the_nilfs
*
nilfs
=
sb
->
s_fs_info
;
...
...
fs/nilfs2/nilfs.h
View file @
c6e49e3f
...
...
@@ -246,7 +246,7 @@ int nilfs_ioctl_prepare_clean_segments(struct the_nilfs *, struct nilfs_argv *,
/* inode.c */
void
nilfs_inode_add_blocks
(
struct
inode
*
inode
,
int
n
);
void
nilfs_inode_sub_blocks
(
struct
inode
*
inode
,
int
n
);
extern
struct
inode
*
nilfs_new_inode
(
struct
inode
*
,
in
t
);
extern
struct
inode
*
nilfs_new_inode
(
struct
inode
*
,
umode_
t
);
extern
void
nilfs_free_inode
(
struct
inode
*
);
extern
int
nilfs_get_block
(
struct
inode
*
,
sector_t
,
struct
buffer_head
*
,
int
);
extern
void
nilfs_set_inode_flags
(
struct
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