file: Rename __close_fd to close_fd and remove the files parameter
[linux-block.git] / fs / open.c
index 9af548fb841b00aa5f5c9eb34f7e36150e090cfd..581a674d7eee904c2742a4872fff1ea82dabfa3d 100644 (file)
--- a/fs/open.c
+++ b/fs/open.c
@@ -1292,7 +1292,7 @@ EXPORT_SYMBOL(filp_close);
  */
 SYSCALL_DEFINE1(close, unsigned int, fd)
 {
-       int retval = __close_fd(current->files, fd);
+       int retval = close_fd(fd);
 
        /* can't restart close syscall because file table entry was cleared */
        if (unlikely(retval == -ERESTARTSYS ||