diff options
| author | Alan Cox <alc@FreeBSD.org> | 2003-07-29 05:23:19 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2003-07-29 05:23:19 +0000 |
| commit | fbe1bdddccd0f070027750b11a6ed7e66b58780b (patch) | |
| tree | 1ba5d924caa14a5f093b8d2f157c51da1d57cdcd | |
| parent | 44de8a989da0825d1219be3ce6ffdbbdc7752b8c (diff) | |
Notes
| -rw-r--r-- | sys/kern/kern_descrip.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index c832ef2c2b83..be1a30fead70 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -1100,11 +1100,8 @@ fdalloc(td, want, result) */ FILEDESC_LOCK(fdp); if (fdp->fd_nfiles >= nfiles) { - /* XXX uma_large_free() needs Giant. */ FILEDESC_UNLOCK(fdp); - mtx_lock(&Giant); free(newofile, M_FILEDESC); - mtx_unlock(&Giant); FILEDESC_LOCK(fdp); continue; } @@ -1129,11 +1126,8 @@ fdalloc(td, want, result) fdp->fd_nfiles = nfiles; fdexpand++; if (oldofile != NULL) { - /* XXX uma_large_free() needs Giant. */ FILEDESC_UNLOCK(fdp); - mtx_lock(&Giant); free(oldofile, M_FILEDESC); - mtx_unlock(&Giant); FILEDESC_LOCK(fdp); } } |
