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
5c3d8638
Commit
5c3d8638
authored
Sep 29, 2002
by
Art Haas
Committed by
Jeff Garzik
Sep 29, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 designated initializers for fs/romfs
parent
52c67555
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
fs/romfs/inode.c
fs/romfs/inode.c
+13
-13
No files found.
fs/romfs/inode.c
View file @
5c3d8638
...
...
@@ -456,16 +456,16 @@ romfs_readpage(struct file *file, struct page * page)
/* Mapping from our types to the kernel */
static
struct
address_space_operations
romfs_aops
=
{
readpage:
romfs_readpage
.
readpage
=
romfs_readpage
};
static
struct
file_operations
romfs_dir_operations
=
{
read:
generic_read_dir
,
readdir:
romfs_readdir
,
.
read
=
generic_read_dir
,
.
readdir
=
romfs_readdir
,
};
static
struct
inode_operations
romfs_dir_inode_operations
=
{
lookup:
romfs_lookup
,
.
lookup
=
romfs_lookup
,
};
static
mode_t
romfs_modemap
[]
=
...
...
@@ -590,10 +590,10 @@ static void destroy_inodecache(void)
}
static
struct
super_operations
romfs_ops
=
{
alloc_inode:
romfs_alloc_inode
,
destroy_inode:
romfs_destroy_inode
,
read_inode:
romfs_read_inode
,
statfs:
romfs_statfs
,
.
alloc_inode
=
romfs_alloc_inode
,
.
destroy_inode
=
romfs_destroy_inode
,
.
read_inode
=
romfs_read_inode
,
.
statfs
=
romfs_statfs
,
};
static
struct
super_block
*
romfs_get_sb
(
struct
file_system_type
*
fs_type
,
...
...
@@ -603,11 +603,11 @@ static struct super_block *romfs_get_sb(struct file_system_type *fs_type,
}
static
struct
file_system_type
romfs_fs_type
=
{
owner:
THIS_MODULE
,
name:
"romfs"
,
get_sb:
romfs_get_sb
,
kill_sb:
kill_block_super
,
fs_flags:
FS_REQUIRES_DEV
,
.
owner
=
THIS_MODULE
,
.
name
=
"romfs"
,
.
get_sb
=
romfs_get_sb
,
.
kill_sb
=
kill_block_super
,
.
fs_flags
=
FS_REQUIRES_DEV
,
};
static
int
__init
init_romfs_fs
(
void
)
...
...
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