aboutsummaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/open.c')
-rw-r--r--fs/open.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/open.c b/fs/open.c
index 4932b4d1da05..43fcd6031969 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -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
994void fastcall put_unused_fd(unsigned int fd) 994void 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
1017void fastcall fd_install(unsigned int fd, struct file * file) 1017void 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}
1064EXPORT_UNUSED_SYMBOL_GPL(sys_open); /* To be deleted for 2.6.25 */
1065 1064
1066asmlinkage long sys_openat(int dfd, const char __user *filename, int flags, 1065asmlinkage long sys_openat(int dfd, const char __user *filename, int flags,
1067 int mode) 1066 int mode)