On Tue, Sep 23, 2008 at 06:46:52PM +0200, Andi Kleen wrote:
quoted
Yes, unfortunately the only way it's cleared currently is through using
nonseekable_open, but I've started preparing a war plan to sort this whole
mess out.
Yes it would be much more logical if FMODE_SEEK was cleared on character devices
by default. That is what I assumed with the original patch.
Actually I'd prefer to not have by default at all. While all
filesystems should support seeking they also can easily set a .llseek
instead of the current horrible default. llseek is the only file
operation with a default (and a really bad one), and I'd prefer it not
to have for consistency.