diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-09-12 12:15:12 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-09-12 12:15:12 +0000 |
commit | 6b308e01a1abd9171950e7b1fd9ff6003bcc6d1c (patch) | |
tree | dbbff7ae28e69811985ec73fe3219f192fd3d2e9 /sys/fs/fifofs | |
parent | bc201416493bfea361370f5c183035e1bb9cd4e5 (diff) | |
download | FreeBSD-src-6b308e01a1abd9171950e7b1fd9ff6003bcc6d1c.zip FreeBSD-src-6b308e01a1abd9171950e7b1fd9ff6003bcc6d1c.tar.gz |
Remove DFLAG_SEEKABLE from fifo file descriptors: fifos are not seekable
according to POSIX, not to mention the fact that it doesn't make sense
(and hence isn't really implemented). This causes the fifo_misc
regression test to succeed.
Diffstat (limited to 'sys/fs/fifofs')
-rw-r--r-- | sys/fs/fifofs/fifo_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/fifofs/fifo_vnops.c b/sys/fs/fifofs/fifo_vnops.c index f355d5a..458907f 100644 --- a/sys/fs/fifofs/fifo_vnops.c +++ b/sys/fs/fifofs/fifo_vnops.c @@ -68,7 +68,7 @@ struct fileops fifo_ops_f = { .fo_kqfilter = fifo_kqfilter_f, .fo_stat = fifo_stat_f, .fo_close = fifo_close_f, - .fo_flags = DFLAG_PASSABLE | DFLAG_SEEKABLE + .fo_flags = DFLAG_PASSABLE }; /* |