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
52c67555
Commit
52c67555
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 initializer patch for fs/devpts.
parent
f45e66e7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
fs/devpts/inode.c
fs/devpts/inode.c
+7
-7
No files found.
fs/devpts/inode.c
View file @
52c67555
...
@@ -27,7 +27,7 @@ static struct {
...
@@ -27,7 +27,7 @@ static struct {
uid_t
uid
;
uid_t
uid
;
gid_t
gid
;
gid_t
gid
;
umode_t
mode
;
umode_t
mode
;
}
config
=
{
mode
:
0600
};
}
config
=
{
.
mode
=
0600
};
static
int
devpts_remount
(
struct
super_block
*
sb
,
int
*
flags
,
char
*
data
)
static
int
devpts_remount
(
struct
super_block
*
sb
,
int
*
flags
,
char
*
data
)
{
{
...
@@ -67,8 +67,8 @@ static int devpts_remount(struct super_block *sb, int *flags, char *data)
...
@@ -67,8 +67,8 @@ static int devpts_remount(struct super_block *sb, int *flags, char *data)
}
}
static
struct
super_operations
devpts_sops
=
{
static
struct
super_operations
devpts_sops
=
{
statfs:
simple_statfs
,
.
statfs
=
simple_statfs
,
remount_fs:
devpts_remount
,
.
remount_fs
=
devpts_remount
,
};
};
static
int
devpts_fill_super
(
struct
super_block
*
s
,
void
*
data
,
int
silent
)
static
int
devpts_fill_super
(
struct
super_block
*
s
,
void
*
data
,
int
silent
)
...
@@ -110,10 +110,10 @@ static struct super_block *devpts_get_sb(struct file_system_type *fs_type,
...
@@ -110,10 +110,10 @@ static struct super_block *devpts_get_sb(struct file_system_type *fs_type,
}
}
static
struct
file_system_type
devpts_fs_type
=
{
static
struct
file_system_type
devpts_fs_type
=
{
owner:
THIS_MODULE
,
.
owner
=
THIS_MODULE
,
name:
"devpts"
,
.
name
=
"devpts"
,
get_sb:
devpts_get_sb
,
.
get_sb
=
devpts_get_sb
,
kill_sb:
kill_anon_super
,
.
kill_sb
=
kill_anon_super
,
};
};
/*
/*
...
...
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