patch-2.3.25 linux/fs/open.c
Next file: linux/fs/proc/Makefile
Previous file: linux/fs/nfsd/nfsctl.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Oct 31 09:25:38 1999
- Orig file:
v2.3.24/linux/fs/open.c
- Orig date:
Sat Oct 9 11:47:50 1999
diff -u --recursive --new-file v2.3.24/linux/fs/open.c linux/fs/open.c
@@ -707,7 +707,7 @@
/* Do we need to expand the fdset array? */
if (fd >= current->files->max_fdset) {
- error = expand_fdset(files, 0);
+ error = expand_fdset(files, fd);
if (!error) {
error = -EMFILE;
goto repeat;
@@ -719,7 +719,7 @@
* Check whether we need to expand the fd array.
*/
if (fd >= files->max_fds) {
- error = expand_fd_array(files, 0);
+ error = expand_fd_array(files, fd);
if (!error) {
error = -EMFILE;
goto repeat;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)