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