Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
f9dbd05b
Commit
f9dbd05b
authored
May 06, 2009
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
switch ufs directories to ufs_sync_file()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
6e8341a1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
fs/ufs/dir.c
fs/ufs/dir.c
+1
-1
fs/ufs/file.c
fs/ufs/file.c
+1
-1
fs/ufs/ufs.h
fs/ufs/ufs.h
+1
-1
No files found.
fs/ufs/dir.c
View file @
f9dbd05b
...
@@ -666,6 +666,6 @@ not_empty:
...
@@ -666,6 +666,6 @@ not_empty:
const
struct
file_operations
ufs_dir_operations
=
{
const
struct
file_operations
ufs_dir_operations
=
{
.
read
=
generic_read_dir
,
.
read
=
generic_read_dir
,
.
readdir
=
ufs_readdir
,
.
readdir
=
ufs_readdir
,
.
fsync
=
file_fsync
,
.
fsync
=
ufs_sync_file
,
.
llseek
=
generic_file_llseek
,
.
llseek
=
generic_file_llseek
,
};
};
fs/ufs/file.c
View file @
f9dbd05b
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#include "ufs.h"
#include "ufs.h"
static
int
ufs_sync_file
(
struct
file
*
file
,
struct
dentry
*
dentry
,
int
datasync
)
int
ufs_sync_file
(
struct
file
*
file
,
struct
dentry
*
dentry
,
int
datasync
)
{
{
struct
inode
*
inode
=
dentry
->
d_inode
;
struct
inode
*
inode
=
dentry
->
d_inode
;
int
err
;
int
err
;
...
...
fs/ufs/ufs.h
View file @
f9dbd05b
...
@@ -98,8 +98,8 @@ extern void ufs_set_link(struct inode *dir, struct ufs_dir_entry *de,
...
@@ -98,8 +98,8 @@ extern void ufs_set_link(struct inode *dir, struct ufs_dir_entry *de,
/* file.c */
/* file.c */
extern
const
struct
inode_operations
ufs_file_inode_operations
;
extern
const
struct
inode_operations
ufs_file_inode_operations
;
extern
const
struct
file_operations
ufs_file_operations
;
extern
const
struct
file_operations
ufs_file_operations
;
extern
const
struct
address_space_operations
ufs_aops
;
extern
const
struct
address_space_operations
ufs_aops
;
extern
int
ufs_sync_file
(
struct
file
*
,
struct
dentry
*
,
int
);
/* ialloc.c */
/* ialloc.c */
extern
void
ufs_free_inode
(
struct
inode
*
inode
);
extern
void
ufs_free_inode
(
struct
inode
*
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