diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2007-04-04 09:11:34 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2007-04-04 09:11:34 +0000 |
| commit | 5e3f7694b189584ae30219566fcc6c4c3d059305 (patch) | |
| tree | 8805b4674ed3429ddf05f19fd5eb0813fb7884aa /sys/dev/streams | |
| parent | f2f72fff6e246e95be9fea218268c6c609b6294b (diff) | |
Notes
Diffstat (limited to 'sys/dev/streams')
| -rw-r--r-- | sys/dev/streams/streams.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c index 5c1377cc83d3..453c95023b3d 100644 --- a/sys/dev/streams/streams.c +++ b/sys/dev/streams/streams.c @@ -253,12 +253,12 @@ streamsopen(struct cdev *dev, int oflags, int devtype, struct thread *td) return error; } - FILEDESC_LOCK_FAST(fdp); + FILE_LOCK(fp); fp->f_data = so; fp->f_flag = FREAD|FWRITE; fp->f_ops = &svr4_netops; fp->f_type = DTYPE_SOCKET; - FILEDESC_UNLOCK_FAST(fdp); + FILE_UNLOCK(fp); /* * Allocate a stream structure and attach it to this socket. |
