Module Name: src Committed By: hannken Date: Wed Aug 10 06:27:02 UTC 2011
Modified Files: src/sys/fs/union: union_vnops.c src/tests/fs/union: t_pr.c Log Message: For devices, sockets and fifos ignore setting the file size to zero to make open(..., O_TRUNC) happy and allow them to write through the lower layer. Fixes PR #43560 (writing to null device in unionfs fails) To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/fs/union/union_vnops.c cvs rdiff -u -r1.7 -r1.8 src/tests/fs/union/t_pr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.