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
3a6578ca
Commit
3a6578ca
authored
Mar 07, 2002
by
Benjamin LaHaise
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ext2 minor cleanup: ext2_fsync_inode is only used from ext2_fsync_file, so merge it
parent
a925c40f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
fs/ext2/ext2.h
fs/ext2/ext2.h
+0
-1
fs/ext2/fsync.c
fs/ext2/fsync.c
+0
-5
No files found.
fs/ext2/ext2.h
View file @
3a6578ca
...
...
@@ -63,7 +63,6 @@ extern void ext2_set_link(struct inode *, struct ext2_dir_entry_2 *, struct page
/* fsync.c */
extern
int
ext2_sync_file
(
struct
file
*
,
struct
dentry
*
,
int
);
extern
int
ext2_fsync_inode
(
struct
inode
*
,
int
);
/* ialloc.c */
extern
struct
inode
*
ext2_new_inode
(
struct
inode
*
,
int
);
...
...
fs/ext2/fsync.c
View file @
3a6578ca
...
...
@@ -35,11 +35,6 @@
int
ext2_sync_file
(
struct
file
*
file
,
struct
dentry
*
dentry
,
int
datasync
)
{
struct
inode
*
inode
=
dentry
->
d_inode
;
return
ext2_fsync_inode
(
inode
,
datasync
);
}
int
ext2_fsync_inode
(
struct
inode
*
inode
,
int
datasync
)
{
int
err
;
err
=
fsync_inode_buffers
(
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