[PATCH] fadvise: return ESPIPE on FIFO/pipe
authorValentine Barshak <vbarshak@ru.mvista.com>
Sun, 8 Jan 2006 09:03:44 +0000 (01:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:00 +0000 (20:14 -0800)
commit87ba81dba431232548ce29d5d224115d0c2355ac
treed836d85ff9bfe404adf3975d4a2c8ee135f9392e
parent99aef427e206f4ae7dcf0b18f66416145fea5d20
[PATCH] fadvise: return ESPIPE on FIFO/pipe

The patch makes posix_fadvise return ESPIPE on FIFO/pipe in order to be
fully POSIX-compliant.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/fadvise.c