Return to ffs_inode.c CVS log | Up to [cvs.NetBSD.org] / src / sys / ufs / ffs |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.59.2.6, 2005/11/10 14:12:31 | version 1.59.2.7, 2005/12/11 10:29:41 | ||
---|---|---|---|
|
|
||
int sync; | int sync; | ||
struct ufsmount *ump = oip->i_ump; | struct ufsmount *ump = oip->i_ump; | ||
if (ovp->v_type == VCHR || ovp->v_type == VBLK || | |||
ovp->v_type == VFIFO || ovp->v_type == VSOCK) { | |||
KASSERT(oip->i_size == 0); | |||
return 0; | |||
} | |||
if (length < 0) | if (length < 0) | ||
return (EINVAL); | return (EINVAL); | ||