summaryrefslogtreecommitdiffstats
path: root/fs/statfs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-10-15 05:00:54 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-10-15 05:00:54 +0200
commit53fd88ab61948f711147204c1c5017c7301979e9 (patch)
treec2a73ac0810c8b99539e05ba8f60224042c46082 /fs/statfs.c
parentdo_handle_open() should be static (diff)
downloadlinux-53fd88ab61948f711147204c1c5017c7301979e9.tar.xz
linux-53fd88ab61948f711147204c1c5017c7301979e9.zip
make vfs_ustat() static
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/statfs.c')
-rw-r--r--fs/statfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/statfs.c b/fs/statfs.c
index fab9b6a3c116..6327edf79e0f 100644
--- a/fs/statfs.c
+++ b/fs/statfs.c
@@ -216,7 +216,7 @@ SYSCALL_DEFINE3(fstatfs64, unsigned int, fd, size_t, sz, struct statfs64 __user
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);
int err;