set relay file can not be read by pread(2)
authorLai Jiangshan <laijs@cn.fujitsu.com>
Wed, 26 Mar 2008 11:01:28 +0000 (12:01 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 26 Mar 2008 11:01:28 +0000 (12:01 +0100)
commit37529fe9f62835e1c11895a1895064748b032dc1
tree961853665601ae08f85008cae589798bdf8f940d
parent05dda977f2574c3341abef9b74c27d2b362e1e3a
set relay file can not be read by pread(2)

I found that relay files can be read by pread(2). I fix it,
for relay files are not capable of seeking.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
kernel/relay.c