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
cf1bc5cc
Commit
cf1bc5cc
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/efs
parent
2b443eea
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
17 deletions
+17
-17
fs/efs/dir.c
fs/efs/dir.c
+3
-3
fs/efs/inode.c
fs/efs/inode.c
+3
-3
fs/efs/super.c
fs/efs/super.c
+10
-10
fs/efs/symlink.c
fs/efs/symlink.c
+1
-1
No files found.
fs/efs/dir.c
View file @
cf1bc5cc
...
@@ -11,12 +11,12 @@
...
@@ -11,12 +11,12 @@
static
int
efs_readdir
(
struct
file
*
,
void
*
,
filldir_t
);
static
int
efs_readdir
(
struct
file
*
,
void
*
,
filldir_t
);
struct
file_operations
efs_dir_operations
=
{
struct
file_operations
efs_dir_operations
=
{
read:
generic_read_dir
,
.
read
=
generic_read_dir
,
readdir:
efs_readdir
,
.
readdir
=
efs_readdir
,
};
};
struct
inode_operations
efs_dir_inode_operations
=
{
struct
inode_operations
efs_dir_inode_operations
=
{
lookup:
efs_lookup
,
.
lookup
=
efs_lookup
,
};
};
static
int
efs_readdir
(
struct
file
*
filp
,
void
*
dirent
,
filldir_t
filldir
)
{
static
int
efs_readdir
(
struct
file
*
filp
,
void
*
dirent
,
filldir_t
filldir
)
{
...
...
fs/efs/inode.c
View file @
cf1bc5cc
...
@@ -24,9 +24,9 @@ static int _efs_bmap(struct address_space *mapping, long block)
...
@@ -24,9 +24,9 @@ static int _efs_bmap(struct address_space *mapping, long block)
return
generic_block_bmap
(
mapping
,
block
,
efs_get_block
);
return
generic_block_bmap
(
mapping
,
block
,
efs_get_block
);
}
}
struct
address_space_operations
efs_aops
=
{
struct
address_space_operations
efs_aops
=
{
readpage:
efs_readpage
,
.
readpage
=
efs_readpage
,
sync_page:
block_sync_page
,
.
sync_page
=
block_sync_page
,
bmap:
_efs_bmap
.
bmap
=
_efs_bmap
};
};
static
inline
void
extent_copy
(
efs_extent
*
src
,
efs_extent
*
dst
)
{
static
inline
void
extent_copy
(
efs_extent
*
src
,
efs_extent
*
dst
)
{
...
...
fs/efs/super.c
View file @
cf1bc5cc
...
@@ -21,11 +21,11 @@ static struct super_block *efs_get_sb(struct file_system_type *fs_type,
...
@@ -21,11 +21,11 @@ static struct super_block *efs_get_sb(struct file_system_type *fs_type,
}
}
static
struct
file_system_type
efs_fs_type
=
{
static
struct
file_system_type
efs_fs_type
=
{
owner:
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
name:
"efs"
,
.
name
=
"efs"
,
get_sb:
efs_get_sb
,
.
get_sb
=
efs_get_sb
,
kill_sb:
kill_block_super
,
.
kill_sb
=
kill_block_super
,
fs_flags:
FS_REQUIRES_DEV
,
.
fs_flags
=
FS_REQUIRES_DEV
,
};
};
static
kmem_cache_t
*
efs_inode_cachep
;
static
kmem_cache_t
*
efs_inode_cachep
;
...
@@ -77,11 +77,11 @@ void efs_put_super(struct super_block *s)
...
@@ -77,11 +77,11 @@ void efs_put_super(struct super_block *s)
}
}
static
struct
super_operations
efs_superblock_operations
=
{
static
struct
super_operations
efs_superblock_operations
=
{
alloc_inode:
efs_alloc_inode
,
.
alloc_inode
=
efs_alloc_inode
,
destroy_inode:
efs_destroy_inode
,
.
destroy_inode
=
efs_destroy_inode
,
read_inode:
efs_read_inode
,
.
read_inode
=
efs_read_inode
,
put_super:
efs_put_super
,
.
put_super
=
efs_put_super
,
statfs:
efs_statfs
,
.
statfs
=
efs_statfs
,
};
};
static
int
__init
init_efs_fs
(
void
)
{
static
int
__init
init_efs_fs
(
void
)
{
...
...
fs/efs/symlink.c
View file @
cf1bc5cc
...
@@ -54,5 +54,5 @@ static int efs_symlink_readpage(struct file *file, struct page *page)
...
@@ -54,5 +54,5 @@ static int efs_symlink_readpage(struct file *file, struct page *page)
}
}
struct
address_space_operations
efs_symlink_aops
=
{
struct
address_space_operations
efs_symlink_aops
=
{
readpage:
efs_symlink_readpage
.
readpage
=
efs_symlink_readpage
};
};
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