mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
6b09ae6692
commit
67cde59537
2 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -1964,7 +1964,6 @@ extern int vfs_stat_fd(int dfd, char __user *, struct kstat *);
|
|||
extern int vfs_lstat_fd(int dfd, char __user *, struct kstat *);
|
||||
extern int vfs_fstat(unsigned int, struct kstat *);
|
||||
|
||||
extern long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
|
||||
extern int do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd,
|
||||
unsigned long arg);
|
||||
|
||||
|
|
Loading…
Reference in a new issue