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
a6322de6
Commit
a6322de6
authored
Dec 08, 2011
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vfs: switch ->show_path() to struct dentry *
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
d861c630
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
fs/nfs/super.c
fs/nfs/super.c
+2
-2
fs/proc_namespace.c
fs/proc_namespace.c
+1
-1
include/linux/fs.h
include/linux/fs.h
+1
-1
No files found.
fs/nfs/super.c
View file @
a6322de6
...
@@ -264,7 +264,7 @@ static void nfs_umount_begin(struct super_block *);
...
@@ -264,7 +264,7 @@ static void nfs_umount_begin(struct super_block *);
static
int
nfs_statfs
(
struct
dentry
*
,
struct
kstatfs
*
);
static
int
nfs_statfs
(
struct
dentry
*
,
struct
kstatfs
*
);
static
int
nfs_show_options
(
struct
seq_file
*
,
struct
vfsmount
*
);
static
int
nfs_show_options
(
struct
seq_file
*
,
struct
vfsmount
*
);
static
int
nfs_show_devname
(
struct
seq_file
*
,
struct
dentry
*
);
static
int
nfs_show_devname
(
struct
seq_file
*
,
struct
dentry
*
);
static
int
nfs_show_path
(
struct
seq_file
*
,
struct
vfsmount
*
);
static
int
nfs_show_path
(
struct
seq_file
*
,
struct
dentry
*
);
static
int
nfs_show_stats
(
struct
seq_file
*
,
struct
dentry
*
);
static
int
nfs_show_stats
(
struct
seq_file
*
,
struct
dentry
*
);
static
struct
dentry
*
nfs_fs_mount
(
struct
file_system_type
*
,
static
struct
dentry
*
nfs_fs_mount
(
struct
file_system_type
*
,
int
,
const
char
*
,
void
*
);
int
,
const
char
*
,
void
*
);
...
@@ -776,7 +776,7 @@ static int nfs_show_devname(struct seq_file *m, struct dentry *root)
...
@@ -776,7 +776,7 @@ static int nfs_show_devname(struct seq_file *m, struct dentry *root)
return
err
;
return
err
;
}
}
static
int
nfs_show_path
(
struct
seq_file
*
m
,
struct
vfsmount
*
mnt
)
static
int
nfs_show_path
(
struct
seq_file
*
m
,
struct
dentry
*
dentry
)
{
{
seq_puts
(
m
,
"/"
);
seq_puts
(
m
,
"/"
);
return
0
;
return
0
;
...
...
fs/proc_namespace.c
View file @
a6322de6
...
@@ -131,7 +131,7 @@ static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt)
...
@@ -131,7 +131,7 @@ static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt)
seq_printf
(
m
,
"%i %i %u:%u "
,
r
->
mnt_id
,
r
->
mnt_parent
->
mnt_id
,
seq_printf
(
m
,
"%i %i %u:%u "
,
r
->
mnt_id
,
r
->
mnt_parent
->
mnt_id
,
MAJOR
(
sb
->
s_dev
),
MINOR
(
sb
->
s_dev
));
MAJOR
(
sb
->
s_dev
),
MINOR
(
sb
->
s_dev
));
if
(
sb
->
s_op
->
show_path
)
if
(
sb
->
s_op
->
show_path
)
err
=
sb
->
s_op
->
show_path
(
m
,
mnt
);
err
=
sb
->
s_op
->
show_path
(
m
,
mnt
->
mnt_root
);
else
else
seq_dentry
(
m
,
mnt
->
mnt_root
,
"
\t\n\\
"
);
seq_dentry
(
m
,
mnt
->
mnt_root
,
"
\t\n\\
"
);
if
(
err
)
if
(
err
)
...
...
include/linux/fs.h
View file @
a6322de6
...
@@ -1674,7 +1674,7 @@ struct super_operations {
...
@@ -1674,7 +1674,7 @@ struct super_operations {
int
(
*
show_options
)(
struct
seq_file
*
,
struct
vfsmount
*
);
int
(
*
show_options
)(
struct
seq_file
*
,
struct
vfsmount
*
);
int
(
*
show_devname
)(
struct
seq_file
*
,
struct
dentry
*
);
int
(
*
show_devname
)(
struct
seq_file
*
,
struct
dentry
*
);
int
(
*
show_path
)(
struct
seq_file
*
,
struct
vfsmount
*
);
int
(
*
show_path
)(
struct
seq_file
*
,
struct
dentry
*
);
int
(
*
show_stats
)(
struct
seq_file
*
,
struct
dentry
*
);
int
(
*
show_stats
)(
struct
seq_file
*
,
struct
dentry
*
);
#ifdef CONFIG_QUOTA
#ifdef CONFIG_QUOTA
ssize_t
(
*
quota_read
)(
struct
super_block
*
,
int
,
char
*
,
size_t
,
loff_t
);
ssize_t
(
*
quota_read
)(
struct
super_block
*
,
int
,
char
*
,
size_t
,
loff_t
);
...
...
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