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
508fdba5
Commit
508fdba5
authored
Aug 07, 2003
by
Stephen Lord
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] use the 2.5 version of the arguments on sync_fs
SGI Modid: 2.5.x-xfs:slinx:155267a
parent
3f25b9a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
fs/xfs/linux/xfs_super.c
fs/xfs/linux/xfs_super.c
+7
-2
No files found.
fs/xfs/linux/xfs_super.c
View file @
508fdba5
...
@@ -508,12 +508,17 @@ linvfs_write_super(
...
@@ -508,12 +508,17 @@ linvfs_write_super(
STATIC
int
STATIC
int
linvfs_sync_super
(
linvfs_sync_super
(
struct
super_block
*
sb
)
struct
super_block
*
sb
,
int
wait
)
{
{
vfs_t
*
vfsp
=
LINVFS_GET_VFS
(
sb
);
vfs_t
*
vfsp
=
LINVFS_GET_VFS
(
sb
);
int
error
;
int
error
;
int
flags
=
SYNC_FSDATA
;
if
(
wait
)
flags
|=
SYNC_WAIT
;
VFS_SYNC
(
vfsp
,
SYNC_FSDATA
|
SYNC_WAIT
,
NULL
,
error
);
VFS_SYNC
(
vfsp
,
flags
,
NULL
,
error
);
sb
->
s_dirt
=
0
;
sb
->
s_dirt
=
0
;
return
-
error
;
return
-
error
;
...
...
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