summaryrefslogtreecommitdiffstats
path: root/fs/ioctl.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-29 09:58:55 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 17:06:00 +0200
commit67cde595374dd0e4e4a537dbf9dff70fd3d7bd7b (patch)
tree5c6e9b52d4ecc912fdb8482c94ed533556023723 /fs/ioctl.c
parentmake __put_super() static (diff)
downloadlinux-67cde595374dd0e4e4a537dbf9dff70fd3d7bd7b.tar.xz
linux-67cde595374dd0e4e4a537dbf9dff70fd3d7bd7b.zip
make vfs_ioctl() static
Make the needlessly global vfs_ioctl() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ioctl.c')
-rw-r--r--fs/ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ioctl.c b/fs/ioctl.c
index f32fbde2175e..7db32b3382d3 100644
--- a/fs/ioctl.c
+++ b/fs/ioctl.c
@@ -28,8 +28,8 @@
*
* Returns 0 on success, -errno on error.
*/
-long vfs_ioctl(struct file *filp, unsigned int cmd,
- unsigned long arg)
+static long vfs_ioctl(struct file *filp, unsigned int cmd,
+ unsigned long arg)
{
int error = -ENOTTY;