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
8871316f
Commit
8871316f
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/cramfs
parent
8497f951
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
fs/cramfs/inode.c
fs/cramfs/inode.c
+11
-11
No files found.
fs/cramfs/inode.c
View file @
8871316f
...
...
@@ -435,7 +435,7 @@ static int cramfs_readpage(struct file *file, struct page * page)
}
static
struct
address_space_operations
cramfs_aops
=
{
readpage:
cramfs_readpage
.
readpage
=
cramfs_readpage
};
/*
...
...
@@ -446,17 +446,17 @@ static struct address_space_operations cramfs_aops = {
* A directory can only readdir
*/
static
struct
file_operations
cramfs_directory_operations
=
{
read:
generic_read_dir
,
readdir:
cramfs_readdir
,
.
read
=
generic_read_dir
,
.
readdir
=
cramfs_readdir
,
};
static
struct
inode_operations
cramfs_dir_inode_operations
=
{
lookup:
cramfs_lookup
,
.
lookup
=
cramfs_lookup
,
};
static
struct
super_operations
cramfs_ops
=
{
put_super:
cramfs_put_super
,
statfs:
cramfs_statfs
,
.
put_super
=
cramfs_put_super
,
.
statfs
=
cramfs_statfs
,
};
static
struct
super_block
*
cramfs_get_sb
(
struct
file_system_type
*
fs_type
,
...
...
@@ -466,11 +466,11 @@ static struct super_block *cramfs_get_sb(struct file_system_type *fs_type,
}
static
struct
file_system_type
cramfs_fs_type
=
{
owner:
THIS_MODULE
,
name:
"cramfs"
,
get_sb:
cramfs_get_sb
,
kill_sb:
kill_block_super
,
fs_flags:
FS_REQUIRES_DEV
,
.
owner
=
THIS_MODULE
,
.
name
=
"cramfs"
,
.
get_sb
=
cramfs_get_sb
,
.
kill_sb
=
kill_block_super
,
.
fs_flags
=
FS_REQUIRES_DEV
,
};
static
int
__init
init_cramfs_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