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
e381abd2
Commit
e381abd2
authored
Oct 07, 2002
by
Art Haas
Committed by
Linus Torvalds
Oct 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] named initializers for fs/autofs
parent
d1dd1edb
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
18 deletions
+18
-18
fs/autofs/init.c
fs/autofs/init.c
+4
-4
fs/autofs/inode.c
fs/autofs/inode.c
+3
-3
fs/autofs/root.c
fs/autofs/root.c
+9
-9
fs/autofs/symlink.c
fs/autofs/symlink.c
+2
-2
No files found.
fs/autofs/init.c
View file @
e381abd2
...
...
@@ -21,10 +21,10 @@ static struct super_block *autofs_get_sb(struct file_system_type *fs_type,
}
static
struct
file_system_type
autofs_fs_type
=
{
owner:
THIS_MODULE
,
name:
"autofs"
,
get_sb:
autofs_get_sb
,
kill_sb:
kill_anon_super
,
.
owner
=
THIS_MODULE
,
.
name
=
"autofs"
,
.
get_sb
=
autofs_get_sb
,
.
kill_sb
=
kill_anon_super
,
};
static
int
__init
init_autofs_fs
(
void
)
...
...
fs/autofs/inode.c
View file @
e381abd2
...
...
@@ -41,9 +41,9 @@ static void autofs_put_super(struct super_block *sb)
static
void
autofs_read_inode
(
struct
inode
*
inode
);
static
struct
super_operations
autofs_sops
=
{
read_inode:
autofs_read_inode
,
put_super:
autofs_put_super
,
statfs:
simple_statfs
,
.
read_inode
=
autofs_read_inode
,
.
put_super
=
autofs_put_super
,
.
statfs
=
simple_statfs
,
};
static
int
parse_options
(
char
*
options
,
int
*
pipefd
,
uid_t
*
uid
,
gid_t
*
gid
,
pid_t
*
pgrp
,
int
*
minproto
,
int
*
maxproto
)
...
...
fs/autofs/root.c
View file @
e381abd2
...
...
@@ -26,17 +26,17 @@ static int autofs_root_mkdir(struct inode *,struct dentry *,int);
static
int
autofs_root_ioctl
(
struct
inode
*
,
struct
file
*
,
unsigned
int
,
unsigned
long
);
struct
file_operations
autofs_root_operations
=
{
read:
generic_read_dir
,
readdir:
autofs_root_readdir
,
ioctl:
autofs_root_ioctl
,
.
read
=
generic_read_dir
,
.
readdir
=
autofs_root_readdir
,
.
ioctl
=
autofs_root_ioctl
,
};
struct
inode_operations
autofs_root_inode_operations
=
{
lookup:
autofs_root_lookup
,
unlink:
autofs_root_unlink
,
symlink:
autofs_root_symlink
,
mkdir:
autofs_root_mkdir
,
rmdir:
autofs_root_rmdir
,
.
lookup
=
autofs_root_lookup
,
.
unlink
=
autofs_root_unlink
,
.
symlink
=
autofs_root_symlink
,
.
mkdir
=
autofs_root_mkdir
,
.
rmdir
=
autofs_root_rmdir
,
};
static
int
autofs_root_readdir
(
struct
file
*
filp
,
void
*
dirent
,
filldir_t
filldir
)
...
...
@@ -192,7 +192,7 @@ static int autofs_revalidate(struct dentry * dentry, int flags)
}
static
struct
dentry_operations
autofs_dentry_operations
=
{
d_revalidate:
autofs_revalidate
,
.
d_revalidate
=
autofs_revalidate
,
};
static
struct
dentry
*
autofs_root_lookup
(
struct
inode
*
dir
,
struct
dentry
*
dentry
)
...
...
fs/autofs/symlink.c
View file @
e381abd2
...
...
@@ -25,6 +25,6 @@ static int autofs_follow_link(struct dentry *dentry, struct nameidata *nd)
}
struct
inode_operations
autofs_symlink_inode_operations
=
{
readlink:
autofs_readlink
,
follow_link:
autofs_follow_link
.
readlink
=
autofs_readlink
,
.
follow_link
=
autofs_follow_link
};
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