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
35720c25
Commit
35720c25
authored
Dec 07, 2002
by
Oleg Drokin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reiserfs: C99 designated initializers, by Art Haas
parent
62c6eac7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
34 deletions
+34
-34
fs/reiserfs/dir.c
fs/reiserfs/dir.c
+3
-3
fs/reiserfs/inode.c
fs/reiserfs/inode.c
+7
-7
fs/reiserfs/namei.c
fs/reiserfs/namei.c
+9
-9
fs/reiserfs/super.c
fs/reiserfs/super.c
+15
-15
No files found.
fs/reiserfs/dir.c
View file @
35720c25
...
...
@@ -18,9 +18,9 @@ static int reiserfs_readdir (struct file *, void *, filldir_t);
int
reiserfs_dir_fsync
(
struct
file
*
filp
,
struct
dentry
*
dentry
,
int
datasync
)
;
struct
file_operations
reiserfs_dir_operations
=
{
read:
generic_read_dir
,
readdir:
reiserfs_readdir
,
fsync:
reiserfs_dir_fsync
,
.
read
=
generic_read_dir
,
.
readdir
=
reiserfs_readdir
,
.
fsync
=
reiserfs_dir_fsync
,
};
int
reiserfs_dir_fsync
(
struct
file
*
filp
,
struct
dentry
*
dentry
,
int
datasync
)
{
...
...
fs/reiserfs/inode.c
View file @
35720c25
...
...
@@ -2113,11 +2113,11 @@ static int reiserfs_releasepage(struct page *page, int unused_gfp_flags)
}
struct
address_space_operations
reiserfs_address_space_operations
=
{
writepage:
reiserfs_writepage
,
readpage:
reiserfs_readpage
,
releasepage:
reiserfs_releasepage
,
sync_page:
block_sync_page
,
prepare_write:
reiserfs_prepare_write
,
commit_write:
reiserfs_commit_write
,
bmap:
reiserfs_aop_bmap
.
writepage
=
reiserfs_writepage
,
.
readpage
=
reiserfs_readpage
,
.
releasepage
=
reiserfs_releasepage
,
.
sync_page
=
block_sync_page
,
.
prepare_write
=
reiserfs_prepare_write
,
.
commit_write
=
reiserfs_commit_write
,
.
bmap
=
reiserfs_aop_bmap
}
;
fs/reiserfs/namei.c
View file @
35720c25
...
...
@@ -1296,14 +1296,14 @@ static int reiserfs_rename (struct inode * old_dir, struct dentry *old_dentry,
*/
struct
inode_operations
reiserfs_dir_inode_operations
=
{
//&reiserfs_dir_operations, /* default_file_ops */
create:
reiserfs_create
,
lookup:
reiserfs_lookup
,
link:
reiserfs_link
,
unlink:
reiserfs_unlink
,
symlink:
reiserfs_symlink
,
mkdir:
reiserfs_mkdir
,
rmdir:
reiserfs_rmdir
,
mknod:
reiserfs_mknod
,
rename:
reiserfs_rename
,
.
create
=
reiserfs_create
,
.
lookup
=
reiserfs_lookup
,
.
link
=
reiserfs_link
,
.
unlink
=
reiserfs_unlink
,
.
symlink
=
reiserfs_symlink
,
.
mkdir
=
reiserfs_mkdir
,
.
rmdir
=
reiserfs_rmdir
,
.
mknod
=
reiserfs_mknod
,
.
rename
=
reiserfs_rename
,
};
fs/reiserfs/super.c
View file @
35720c25
...
...
@@ -474,25 +474,25 @@ static void reiserfs_dirty_inode (struct inode * inode) {
struct
super_operations
reiserfs_sops
=
{
alloc_inode:
reiserfs_alloc_inode
,
destroy_inode:
reiserfs_destroy_inode
,
write_inode:
reiserfs_write_inode
,
dirty_inode:
reiserfs_dirty_inode
,
delete_inode:
reiserfs_delete_inode
,
put_super:
reiserfs_put_super
,
write_super:
reiserfs_write_super
,
write_super_lockfs:
reiserfs_write_super_lockfs
,
unlockfs:
reiserfs_unlockfs
,
statfs:
reiserfs_statfs
,
remount_fs:
reiserfs_remount
,
.
alloc_inode
=
reiserfs_alloc_inode
,
.
destroy_inode
=
reiserfs_destroy_inode
,
.
write_inode
=
reiserfs_write_inode
,
.
dirty_inode
=
reiserfs_dirty_inode
,
.
delete_inode
=
reiserfs_delete_inode
,
.
put_super
=
reiserfs_put_super
,
.
write_super
=
reiserfs_write_super
,
.
write_super_lockfs
=
reiserfs_write_super_lockfs
,
.
unlockfs
=
reiserfs_unlockfs
,
.
statfs
=
reiserfs_statfs
,
.
remount_fs
=
reiserfs_remount
,
};
static
struct
export_operations
reiserfs_export_ops
=
{
encode_fh:
reiserfs_encode_fh
,
decode_fh:
reiserfs_decode_fh
,
get_parent:
reiserfs_get_parent
,
get_dentry:
reiserfs_get_dentry
,
.
encode_fh
=
reiserfs_encode_fh
,
.
decode_fh
=
reiserfs_decode_fh
,
.
get_parent
=
reiserfs_get_parent
,
.
get_dentry
=
reiserfs_get_dentry
,
}
;
/* this struct is used in reiserfs_getopt () for containing the value for those
...
...
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