Re: ->direct_IO API change in current 2.4 BK

Trond Myklebust (trond.myklebust@fys.uio.no)
Wed, 9 Jul 2003 21:08:53 +0200


>>>>> " " == Jeff Garzik <jgarzik@pobox.com> writes:

> s/replacing/adding/

Revert ;-)

> A new ->direct_IO2 hook would be an addition, so you really
> want to simply add another feature flag.

You missed the point. This is *instead* of ->direct_IO2. It's only
purpose would be to distinguish between the old

int (*direct_IO)(int, struct inode *, struct kiobuf *, unsigned long, int);

and the new

int (*direct_IO)(int, struct file *, struct kiobuf *, unsigned long, int);

Cheers,
Trond
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/