]> Zhao Yanbai Git Server - minix.git/commit
VFS: simplify stat for pipes
authorThomas Veerman <thomas@minix3.org>
Wed, 18 Apr 2012 13:44:33 +0000 (13:44 +0000)
committerThomas Veerman <thomas@minix3.org>
Fri, 27 Apr 2012 08:50:49 +0000 (08:50 +0000)
commit7b812540697fd371128f0a731e48cf390ab3b5e1
tree0bc2f022b05acb5ce3581acd8d25b80dfda3cc99
parentdb8198d99d7d1e5b3bfb474c9acae5add19f52af
VFS: simplify stat for pipes

According to POSIX the st_size field of struct stat is undefined for
fifos and anonymous pipes. Thus we can do anything we want. We save a
copy by not being accurate on pipe sizes.
include/sys/stat.h
servers/vfs/exec.c
servers/vfs/proto.h
servers/vfs/request.c
servers/vfs/stadir.c