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
62163fbb
Commit
62163fbb
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/umsdos
parent
2ce4fd46
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
36 deletions
+36
-36
fs/umsdos/dir.c
fs/umsdos/dir.c
+15
-15
fs/umsdos/inode.c
fs/umsdos/inode.c
+11
-11
fs/umsdos/rdir.c
fs/umsdos/rdir.c
+10
-10
No files found.
fs/umsdos/dir.c
View file @
62163fbb
...
...
@@ -48,8 +48,8 @@ static int umsdos_dentry_dput(struct dentry *dentry)
struct
dentry_operations
umsdos_dentry_operations
=
{
d_revalidate:
umsdos_dentry_validate
,
d_delete:
umsdos_dentry_dput
,
.
d_revalidate
=
umsdos_dentry_validate
,
.
d_delete
=
umsdos_dentry_dput
,
};
struct
UMSDOS_DIR_ONCE
{
...
...
@@ -790,21 +790,21 @@ dentry_dst->d_parent->d_name.name, dentry_dst->d_name.name);
struct
file_operations
umsdos_dir_operations
=
{
read:
generic_read_dir
,
readdir:
UMSDOS_readdir
,
ioctl:
UMSDOS_ioctl_dir
,
.
read
=
generic_read_dir
,
.
readdir
=
UMSDOS_readdir
,
.
ioctl
=
UMSDOS_ioctl_dir
,
};
struct
inode_operations
umsdos_dir_inode_operations
=
{
create:
UMSDOS_create
,
lookup:
UMSDOS_lookup
,
link:
UMSDOS_link
,
unlink:
UMSDOS_unlink
,
symlink:
UMSDOS_symlink
,
mkdir:
UMSDOS_mkdir
,
rmdir:
UMSDOS_rmdir
,
mknod:
UMSDOS_mknod
,
rename:
UMSDOS_rename
,
setattr:
UMSDOS_notify_change
,
.
create
=
UMSDOS_create
,
.
lookup
=
UMSDOS_lookup
,
.
link
=
UMSDOS_link
,
.
unlink
=
UMSDOS_unlink
,
.
symlink
=
UMSDOS_symlink
,
.
mkdir
=
UMSDOS_mkdir
,
.
rmdir
=
UMSDOS_rmdir
,
.
mknod
=
UMSDOS_mknod
,
.
rename
=
UMSDOS_rename
,
.
setattr
=
UMSDOS_notify_change
,
};
fs/umsdos/inode.c
View file @
62163fbb
...
...
@@ -108,14 +108,14 @@ void umsdos_set_dirinfo_new (struct dentry *dentry, off_t f_pos)
}
static
struct
inode_operations
umsdos_file_inode_operations
=
{
truncate:
fat_truncate
,
setattr:
UMSDOS_notify_change
,
.
truncate
=
fat_truncate
,
.
setattr
=
UMSDOS_notify_change
,
};
static
struct
inode_operations
umsdos_symlink_inode_operations
=
{
readlink:
page_readlink
,
follow_link:
page_follow_link
,
setattr:
UMSDOS_notify_change
,
.
readlink
=
page_readlink
,
.
follow_link
=
page_follow_link
,
.
setattr
=
UMSDOS_notify_change
,
};
/*
...
...
@@ -335,12 +335,12 @@ void UMSDOS_write_inode (struct inode *inode, int wait)
static
struct
super_operations
umsdos_sops
=
{
write_inode:
UMSDOS_write_inode
,
put_inode:
UMSDOS_put_inode
,
delete_inode:
fat_delete_inode
,
put_super:
UMSDOS_put_super
,
statfs:
UMSDOS_statfs
,
clear_inode:
fat_clear_inode
,
.
write_inode
=
UMSDOS_write_inode
,
.
put_inode
=
UMSDOS_put_inode
,
.
delete_inode
=
fat_delete_inode
,
.
put_super
=
UMSDOS_put_super
,
.
statfs
=
UMSDOS_statfs
,
.
clear_inode
=
fat_clear_inode
,
};
int
UMSDOS_statfs
(
struct
super_block
*
sb
,
struct
statfs
*
buf
)
...
...
fs/umsdos/rdir.c
View file @
62163fbb
...
...
@@ -231,18 +231,18 @@ static int UMSDOS_rrmdir ( struct inode *dir, struct dentry *dentry)
*/
struct
file_operations
umsdos_rdir_operations
=
{
read:
generic_read_dir
,
readdir:
UMSDOS_rreaddir
,
ioctl:
UMSDOS_ioctl_dir
,
.
read
=
generic_read_dir
,
.
readdir
=
UMSDOS_rreaddir
,
.
ioctl
=
UMSDOS_ioctl_dir
,
};
struct
inode_operations
umsdos_rdir_inode_operations
=
{
create:
msdos_create
,
lookup:
UMSDOS_rlookup
,
unlink:
msdos_unlink
,
mkdir:
msdos_mkdir
,
rmdir:
UMSDOS_rrmdir
,
rename:
msdos_rename
,
setattr:
UMSDOS_notify_change
,
.
create
=
msdos_create
,
.
lookup
=
UMSDOS_rlookup
,
.
unlink
=
msdos_unlink
,
.
mkdir
=
msdos_mkdir
,
.
rmdir
=
UMSDOS_rrmdir
,
.
rename
=
msdos_rename
,
.
setattr
=
UMSDOS_notify_change
,
};
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