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
ff01934e
Commit
ff01934e
authored
Nov 07, 2002
by
Art Haas
Committed by
Linus Torvalds
Nov 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 designated initializers for fs/hugetlbfs/inode.c
parent
0bce91be
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
fs/hugetlbfs/inode.c
fs/hugetlbfs/inode.c
+24
-24
No files found.
fs/hugetlbfs/inode.c
View file @
ff01934e
...
@@ -443,36 +443,36 @@ static int hugetlbfs_symlink(struct inode * dir, struct dentry *dentry, const ch
...
@@ -443,36 +443,36 @@ static int hugetlbfs_symlink(struct inode * dir, struct dentry *dentry, const ch
}
}
static
struct
address_space_operations
hugetlbfs_aops
=
{
static
struct
address_space_operations
hugetlbfs_aops
=
{
readpage:
hugetlbfs_readpage
,
.
readpage
=
hugetlbfs_readpage
,
writepage:
fail_writepage
,
.
writepage
=
fail_writepage
,
prepare_write:
hugetlbfs_prepare_write
,
.
prepare_write
=
hugetlbfs_prepare_write
,
commit_write:
hugetlbfs_commit_write
.
commit_write
=
hugetlbfs_commit_write
};
};
struct
file_operations
hugetlbfs_file_operations
=
{
struct
file_operations
hugetlbfs_file_operations
=
{
read:
generic_file_read
,
.
read
=
generic_file_read
,
write:
generic_file_write
,
.
write
=
generic_file_write
,
mmap:
hugetlbfs_file_mmap
,
.
mmap
=
hugetlbfs_file_mmap
,
fsync:
simple_sync_file
,
.
fsync
=
simple_sync_file
,
sendfile:
generic_file_sendfile
,
.
sendfile
=
generic_file_sendfile
,
};
};
static
struct
inode_operations
hugetlbfs_dir_inode_operations
=
{
static
struct
inode_operations
hugetlbfs_dir_inode_operations
=
{
create:
hugetlbfs_create
,
.
create
=
hugetlbfs_create
,
lookup:
simple_lookup
,
.
lookup
=
simple_lookup
,
link:
simple_link
,
.
link
=
simple_link
,
unlink:
simple_unlink
,
.
unlink
=
simple_unlink
,
symlink:
hugetlbfs_symlink
,
.
symlink
=
hugetlbfs_symlink
,
mkdir:
hugetlbfs_mkdir
,
.
mkdir
=
hugetlbfs_mkdir
,
rmdir:
simple_rmdir
,
.
rmdir
=
simple_rmdir
,
mknod:
hugetlbfs_mknod
,
.
mknod
=
hugetlbfs_mknod
,
rename:
simple_rename
,
.
rename
=
simple_rename
,
setattr:
hugetlbfs_setattr
,
.
setattr
=
hugetlbfs_setattr
,
};
};
static
struct
super_operations
hugetlbfs_ops
=
{
static
struct
super_operations
hugetlbfs_ops
=
{
statfs:
simple_statfs
,
.
statfs
=
simple_statfs
,
drop_inode:
hugetlbfs_drop_inode
,
.
drop_inode
=
hugetlbfs_drop_inode
,
};
};
static
int
hugetlbfs_fill_super
(
struct
super_block
*
sb
,
void
*
data
,
int
silent
)
static
int
hugetlbfs_fill_super
(
struct
super_block
*
sb
,
void
*
data
,
int
silent
)
...
@@ -504,9 +504,9 @@ static struct super_block *hugetlbfs_get_sb(struct file_system_type *fs_type,
...
@@ -504,9 +504,9 @@ static struct super_block *hugetlbfs_get_sb(struct file_system_type *fs_type,
}
}
static
struct
file_system_type
hugetlbfs_fs_type
=
{
static
struct
file_system_type
hugetlbfs_fs_type
=
{
name:
"hugetlbfs"
,
.
name
=
"hugetlbfs"
,
get_sb:
hugetlbfs_get_sb
,
.
get_sb
=
hugetlbfs_get_sb
,
kill_sb:
kill_litter_super
,
.
kill_sb
=
kill_litter_super
,
};
};
static
struct
vfsmount
*
hugetlbfs_vfsmount
;
static
struct
vfsmount
*
hugetlbfs_vfsmount
;
...
...
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