diff options
Diffstat (limited to 'fs/open.c')
-rw-r--r-- | fs/open.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -991,7 +991,7 @@ static void __put_unused_fd(struct files_struct *files, unsigned int fd) | |||
991 | files->next_fd = fd; | 991 | files->next_fd = fd; |
992 | } | 992 | } |
993 | 993 | ||
994 | void fastcall put_unused_fd(unsigned int fd) | 994 | void put_unused_fd(unsigned int fd) |
995 | { | 995 | { |
996 | struct files_struct *files = current->files; | 996 | struct files_struct *files = current->files; |
997 | spin_lock(&files->file_lock); | 997 | spin_lock(&files->file_lock); |
@@ -1014,7 +1014,7 @@ EXPORT_SYMBOL(put_unused_fd); | |||
1014 | * will follow. | 1014 | * will follow. |
1015 | */ | 1015 | */ |
1016 | 1016 | ||
1017 | void fastcall fd_install(unsigned int fd, struct file * file) | 1017 | void fd_install(unsigned int fd, struct file *file) |
1018 | { | 1018 | { |
1019 | struct files_struct *files = current->files; | 1019 | struct files_struct *files = current->files; |
1020 | struct fdtable *fdt; | 1020 | struct fdtable *fdt; |
@@ -1061,7 +1061,6 @@ asmlinkage long sys_open(const char __user *filename, int flags, int mode) | |||
1061 | prevent_tail_call(ret); | 1061 | prevent_tail_call(ret); |
1062 | return ret; | 1062 | return ret; |
1063 | } | 1063 | } |
1064 | EXPORT_UNUSED_SYMBOL_GPL(sys_open); /* To be deleted for 2.6.25 */ | ||
1065 | 1064 | ||
1066 | asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, | 1065 | asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, |
1067 | int mode) | 1066 | int mode) |