file: Rename __close_fd to close_fd and remove the files parameter
[linux-block.git] / include / linux / fdtable.h
index dc476ae92f56924df850ba36e2292f34d48ea126..dad4a488ce60e5a1f59006c044f0cbabdd66dbbe 100644 (file)
@@ -124,8 +124,7 @@ int iterate_fd(struct files_struct *, unsigned,
                int (*)(const void *, struct file *, unsigned),
                const void *);
 
-extern int __close_fd(struct files_struct *files,
-                     unsigned int fd);
+extern int close_fd(unsigned int fd);
 extern int __close_range(unsigned int fd, unsigned int max_fd, unsigned int flags);
 extern int __close_fd_get_file(unsigned int fd, struct file **res);
 extern int unshare_fd(unsigned long unshare_flags, unsigned int max_fds,