Messages in this thread | | | Date | Sat, 30 Oct 1999 09:48:14 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [PATCH] FD array expansion problem |
| |
On Sat, 30 Oct 1999, Savochkin Andrey Vladimirovich wrote: > > I've spotted a bug in the dynamic fd array expansion code. > Here is the patch which > - fixes wrong parameters of expand_fdset() and expand_fd_array() calls > in expand_files() and get_unused_fd(); and > - moves expand_files() function from sched.h to fs/fcntl.c.
You seem to have done the "+1" twice (once in expand_fdset(), once in the caller).. That can't be right,
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |