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
53fd88ab
Commit
53fd88ab
authored
Oct 14, 2017
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make vfs_ustat() static
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
73ecf5cf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
fs/statfs.c
fs/statfs.c
+1
-1
include/linux/fs.h
include/linux/fs.h
+0
-1
No files found.
fs/statfs.c
View file @
53fd88ab
...
@@ -216,7 +216,7 @@ SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, size_t, sz, struct statfs64 __user
...
@@ -216,7 +216,7 @@ SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, size_t, sz, struct statfs64 __user
return
error
;
return
error
;
}
}
int
vfs_ustat
(
dev_t
dev
,
struct
kstatfs
*
sbuf
)
static
int
vfs_ustat
(
dev_t
dev
,
struct
kstatfs
*
sbuf
)
{
{
struct
super_block
*
s
=
user_get_super
(
dev
);
struct
super_block
*
s
=
user_get_super
(
dev
);
int
err
;
int
err
;
...
...
include/linux/fs.h
View file @
53fd88ab
...
@@ -2169,7 +2169,6 @@ extern int iterate_mounts(int (*)(struct vfsmount *, void *), void *,
...
@@ -2169,7 +2169,6 @@ extern int iterate_mounts(int (*)(struct vfsmount *, void *), void *,
extern
int
vfs_statfs
(
const
struct
path
*
,
struct
kstatfs
*
);
extern
int
vfs_statfs
(
const
struct
path
*
,
struct
kstatfs
*
);
extern
int
user_statfs
(
const
char
__user
*
,
struct
kstatfs
*
);
extern
int
user_statfs
(
const
char
__user
*
,
struct
kstatfs
*
);
extern
int
fd_statfs
(
int
,
struct
kstatfs
*
);
extern
int
fd_statfs
(
int
,
struct
kstatfs
*
);
extern
int
vfs_ustat
(
dev_t
,
struct
kstatfs
*
);
extern
int
freeze_super
(
struct
super_block
*
super
);
extern
int
freeze_super
(
struct
super_block
*
super
);
extern
int
thaw_super
(
struct
super_block
*
super
);
extern
int
thaw_super
(
struct
super_block
*
super
);
extern
bool
our_mnt
(
struct
vfsmount
*
mnt
);
extern
bool
our_mnt
(
struct
vfsmount
*
mnt
);
...
...
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