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
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
Hide 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
}
static
struct
address_space_operations
hugetlbfs_aops
=
{
readpage:
hugetlbfs_readpage
,
writepage:
fail_writepage
,
prepare_write:
hugetlbfs_prepare_write
,
commit_write:
hugetlbfs_commit_write
.
readpage
=
hugetlbfs_readpage
,
.
writepage
=
fail_writepage
,
.
prepare_write
=
hugetlbfs_prepare_write
,
.
commit_write
=
hugetlbfs_commit_write
};
struct
file_operations
hugetlbfs_file_operations
=
{
read:
generic_file_read
,
write:
generic_file_write
,
mmap:
hugetlbfs_file_mmap
,
fsync:
simple_sync_file
,
sendfile:
generic_file_sendfile
,
.
read
=
generic_file_read
,
.
write
=
generic_file_write
,
.
mmap
=
hugetlbfs_file_mmap
,
.
fsync
=
simple_sync_file
,
.
sendfile
=
generic_file_sendfile
,
};
static
struct
inode_operations
hugetlbfs_dir_inode_operations
=
{
create:
hugetlbfs_create
,
lookup:
simple_lookup
,
link:
simple_link
,
unlink:
simple_unlink
,
symlink:
hugetlbfs_symlink
,
mkdir:
hugetlbfs_mkdir
,
rmdir:
simple_rmdir
,
mknod:
hugetlbfs_mknod
,
rename:
simple_rename
,
setattr:
hugetlbfs_setattr
,
.
create
=
hugetlbfs_create
,
.
lookup
=
simple_lookup
,
.
link
=
simple_link
,
.
unlink
=
simple_unlink
,
.
symlink
=
hugetlbfs_symlink
,
.
mkdir
=
hugetlbfs_mkdir
,
.
rmdir
=
simple_rmdir
,
.
mknod
=
hugetlbfs_mknod
,
.
rename
=
simple_rename
,
.
setattr
=
hugetlbfs_setattr
,
};
static
struct
super_operations
hugetlbfs_ops
=
{
statfs:
simple_statfs
,
drop_inode:
hugetlbfs_drop_inode
,
.
statfs
=
simple_statfs
,
.
drop_inode
=
hugetlbfs_drop_inode
,
};
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,
}
static
struct
file_system_type
hugetlbfs_fs_type
=
{
name:
"hugetlbfs"
,
get_sb:
hugetlbfs_get_sb
,
kill_sb:
kill_litter_super
,
.
name
=
"hugetlbfs"
,
.
get_sb
=
hugetlbfs_get_sb
,
.
kill_sb
=
kill_litter_super
,
};
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