patch-2.2.18 linux/fs/open.c

Next file: linux/fs/proc/array.c
Previous file: linux/fs/ntfs/support.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/fs/open.c linux/fs/open.c
@@ -748,13 +748,6 @@
 	return error;
 }
 
-inline void put_unused_fd(unsigned int fd)
-{
-	FD_CLR(fd, current->files->open_fds);
-	if (fd < current->files->next_fd)
-		current->files->next_fd = fd;
-}
-
 asmlinkage int sys_open(const char * filename, int flags, int mode)
 {
 	char * tmp;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)