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
96123596
Commit
96123596
authored
Oct 11, 2002
by
Luca Tettamanti
Committed by
Linus Torvalds
Oct 11, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 designated initializer for fs/jffs
parent
6e23d74a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
33 deletions
+33
-33
fs/jffs/inode-v23.c
fs/jffs/inode-v23.c
+33
-33
No files found.
fs/jffs/inode-v23.c
View file @
96123596
...
...
@@ -1615,9 +1615,9 @@ jffs_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
static
struct
address_space_operations
jffs_address_operations
=
{
readpage:
jffs_readpage
,
prepare_write:
jffs_prepare_write
,
commit_write:
jffs_commit_write
,
.
readpage
=
jffs_readpage
,
.
prepare_write
=
jffs_prepare_write
,
.
commit_write
=
jffs_commit_write
,
};
static
int
jffs_fsync
(
struct
file
*
f
,
struct
dentry
*
d
,
int
datasync
)
...
...
@@ -1634,41 +1634,41 @@ extern loff_t generic_file_llseek(struct file *, loff_t, int) __attribute__((wea
static
struct
file_operations
jffs_file_operations
=
{
open:
generic_file_open
,
llseek:
generic_file_llseek
,
read:
generic_file_read
,
write:
generic_file_write
,
ioctl:
jffs_ioctl
,
mmap:
generic_file_mmap
,
fsync:
jffs_fsync
,
sendfile:
generic_file_sendfile
,
.
open
=
generic_file_open
,
.
llseek
=
generic_file_llseek
,
.
read
=
generic_file_read
,
.
write
=
generic_file_write
,
.
ioctl
=
jffs_ioctl
,
.
mmap
=
generic_file_mmap
,
.
fsync
=
jffs_fsync
,
.
sendfile
=
generic_file_sendfile
,
};
static
struct
inode_operations
jffs_file_inode_operations
=
{
lookup:
jffs_lookup
,
/* lookup */
setattr:
jffs_setattr
,
.
lookup
=
jffs_lookup
,
/* lookup */
.
setattr
=
jffs_setattr
,
};
static
struct
file_operations
jffs_dir_operations
=
{
readdir:
jffs_readdir
,
.
readdir
=
jffs_readdir
,
};
static
struct
inode_operations
jffs_dir_inode_operations
=
{
create:
jffs_create
,
lookup:
jffs_lookup
,
unlink:
jffs_unlink
,
symlink:
jffs_symlink
,
mkdir:
jffs_mkdir
,
rmdir:
jffs_rmdir
,
mknod:
jffs_mknod
,
rename:
jffs_rename
,
setattr:
jffs_setattr
,
.
create
=
jffs_create
,
.
lookup
=
jffs_lookup
,
.
unlink
=
jffs_unlink
,
.
symlink
=
jffs_symlink
,
.
mkdir
=
jffs_mkdir
,
.
rmdir
=
jffs_rmdir
,
.
mknod
=
jffs_mknod
,
.
rename
=
jffs_rename
,
.
setattr
=
jffs_setattr
,
};
...
...
@@ -1768,11 +1768,11 @@ jffs_write_super(struct super_block *sb)
static
struct
super_operations
jffs_ops
=
{
read_inode:
jffs_read_inode
,
delete_inode:
jffs_delete_inode
,
put_super:
jffs_put_super
,
write_super:
jffs_write_super
,
statfs:
jffs_statfs
,
.
read_inode
=
jffs_read_inode
,
.
delete_inode
=
jffs_delete_inode
,
.
put_super
=
jffs_put_super
,
.
write_super
=
jffs_write_super
,
.
statfs
=
jffs_statfs
,
};
static
struct
super_block
*
jffs_get_sb
(
struct
file_system_type
*
fs_type
,
...
...
@@ -1782,11 +1782,11 @@ static struct super_block *jffs_get_sb(struct file_system_type *fs_type,
}
static
struct
file_system_type
jffs_fs_type
=
{
owner:
THIS_MODULE
,
name:
"jffs"
,
get_sb:
jffs_get_sb
,
kill_sb:
kill_block_super
,
fs_flags:
FS_REQUIRES_DEV
,
.
owner
=
THIS_MODULE
,
.
name
=
"jffs"
,
.
get_sb
=
jffs_get_sb
,
.
kill_sb
=
kill_block_super
,
.
fs_flags
=
FS_REQUIRES_DEV
,
};
static
int
__init
...
...
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