diff options
author | julian <julian@FreeBSD.org> | 1996-10-17 22:47:23 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1996-10-17 22:47:23 +0000 |
commit | 70536e45debe25350301c7e1e19c2a3446098704 (patch) | |
tree | 468faed3014bfe10895869b6729798451270fa45 /sys/miscfs/devfs | |
parent | 1beee0a9eb8580917a2da4b392e7f4a31cf2ac27 (diff) | |
download | FreeBSD-src-70536e45debe25350301c7e1e19c2a3446098704.zip FreeBSD-src-70536e45debe25350301c7e1e19c2a3446098704.tar.gz |
Just because something doesn't make sense doesn't mean it should be illegal..
just ignore it instead.
===================================================================
RCS file: /home/ncvs/src/sys/miscfs/devfs/devfs_vnops.c,v
retrieving revision 1.30
diff -r1.30 devfs_vnops.c
631d630
< (vap->va_size != VNOVAL) || /* doesn't make sense in devfs */
Diffstat (limited to 'sys/miscfs/devfs')
-rw-r--r-- | sys/miscfs/devfs/devfs_vnops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/miscfs/devfs/devfs_vnops.c b/sys/miscfs/devfs/devfs_vnops.c index 9b252f9..aba42ce 100644 --- a/sys/miscfs/devfs/devfs_vnops.c +++ b/sys/miscfs/devfs/devfs_vnops.c @@ -1,7 +1,7 @@ /* * Written by Julian Elischer (julian@DIALix.oz.au) * - * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_vnops.c,v 1.29 1996/10/16 18:02:53 julian Exp $ + * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_vnops.c,v 1.30 1996/10/16 23:14:00 julian Exp $ * * symlinks can wait 'til later. */ @@ -628,7 +628,6 @@ DBPRINT(("setattr\n")); (vap->va_blocksize != VNOVAL) || (vap->va_rdev != VNOVAL) || (vap->va_bytes != VNOVAL) || - (vap->va_size != VNOVAL) || /* doesn't make sense in devfs */ (vap->va_gen != VNOVAL )) { return EINVAL; |