projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
only delete space used by inode, on inode deletion; required
[unix-history]
/
usr
/
src
/
sys
/
kern
/
kern_descrip.c
diff --git
a/usr/src/sys/kern/kern_descrip.c
b/usr/src/sys/kern/kern_descrip.c
index
134cc7a
..
ca1a201
100644
(file)
--- a/
usr/src/sys/kern/kern_descrip.c
+++ b/
usr/src/sys/kern/kern_descrip.c
@@
-4,7
+4,7
@@
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)kern_descrip.c 7.
29
(Berkeley) %G%
+ * @(#)kern_descrip.c 7.
30
(Berkeley) %G%
*/
#include "param.h"
*/
#include "param.h"
@@
-684,9
+684,10
@@
flock(p, uap, retval)
* references to this file will be direct to the other driver.
*/
/* ARGSUSED */
* references to this file will be direct to the other driver.
*/
/* ARGSUSED */
-fdopen(dev, mode, type)
+fdopen(dev, mode, type
, p
)
dev_t dev;
int mode, type;
dev_t dev;
int mode, type;
+ struct proc *p;
{
/*
{
/*
@@
-697,7
+698,7
@@
fdopen(dev, mode, type)
* actions in dupfdopen below. Other callers of vn_open or VOP_OPEN
* will simply report the error.
*/
* actions in dupfdopen below. Other callers of vn_open or VOP_OPEN
* will simply report the error.
*/
- curproc->p_dupfd = minor(dev); /* XXX */
+ p->p_dupfd = minor(dev);
return (ENODEV);
}
return (ENODEV);
}