diff options
author | Chris Costello <chris@FreeBSD.org> | 2000-06-02 07:08:18 +0000 |
---|---|---|
committer | Chris Costello <chris@FreeBSD.org> | 2000-06-02 07:08:18 +0000 |
commit | c1e15e06bbbaa051b891d4ce45631fbcd64567d3 (patch) | |
tree | 823dbcb5d28a04ab19f68c5df0a1973c05e72e21 /sys | |
parent | 908a81d4246e84d6ee6268623654a351471e0e0d (diff) | |
download | src-c1e15e06bbbaa051b891d4ce45631fbcd64567d3.tar.gz src-c1e15e06bbbaa051b891d4ce45631fbcd64567d3.zip |
Update the comment for fdesc_setattr to reflect that we no longer
actually setattr() on underlying vnodes.
Notes
Notes:
svn path=/head/; revision=61173
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/fdescfs/fdesc_vnops.c | 2 | ||||
-rw-r--r-- | sys/miscfs/fdesc/fdesc_vnops.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index 19882d6c49b2..edfe10566020 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -401,7 +401,7 @@ fdesc_setattr(ap) return (EBADF); /* - * Can setattr the underlying vnode, but not sockets! + * Do not allow anybody to actually setattr anything. */ switch (fp->f_type) { case DTYPE_FIFO: diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c index 19882d6c49b2..edfe10566020 100644 --- a/sys/miscfs/fdesc/fdesc_vnops.c +++ b/sys/miscfs/fdesc/fdesc_vnops.c @@ -401,7 +401,7 @@ fdesc_setattr(ap) return (EBADF); /* - * Can setattr the underlying vnode, but not sockets! + * Do not allow anybody to actually setattr anything. */ switch (fp->f_type) { case DTYPE_FIFO: |