Allow the utimes call to work on devfs nodes.
This commit is contained in:
parent
ea5a2b2e00
commit
336cf5014e
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Written by Julian Elischer (julian@DIALix.oz.au)
|
* Written by Julian Elischer (julian@DIALix.oz.au)
|
||||||
*
|
*
|
||||||
* $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_vnops.c,v 1.27 1996/09/20 05:55:47 nate Exp $
|
* $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_vnops.c,v 1.28 1996/10/12 00:07:53 julian Exp $
|
||||||
*
|
*
|
||||||
* symlinks can wait 'til later.
|
* symlinks can wait 'til later.
|
||||||
*/
|
*/
|
||||||
@ -616,8 +616,7 @@ DBPRINT(("setattr\n"));
|
|||||||
(vap->va_blocksize != VNOVAL) ||
|
(vap->va_blocksize != VNOVAL) ||
|
||||||
(vap->va_rdev != VNOVAL) ||
|
(vap->va_rdev != VNOVAL) ||
|
||||||
(vap->va_bytes != VNOVAL) ||
|
(vap->va_bytes != VNOVAL) ||
|
||||||
(vap->va_gen != VNOVAL) ||
|
(vap->va_gen != VNOVAL ))
|
||||||
(vap->va_atime.tv_sec != VNOVAL))
|
|
||||||
{
|
{
|
||||||
return EINVAL;
|
return EINVAL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user