2006-10-18 04:26:12

by Dave Kleikamp

[permalink] [raw]
Subject: Re: [PATCH 1/1] lseek - SEEK_HOLE/SEEK_DATA support

On Tue, 2006-10-17 at 21:29 -0500, Eric L wrote:

> > vfs_lseek.patch:
> >
> > Can you add definititions of SEEK_HOLE and SEEK_DATA to fs.h? I really
> > don't like that the code doesn't use the symbolic constants.
> >
>
> Agreed. When I originally wrote it against 2.6.17.7, I couldn't find
> any precedent for adding such defines, but I see they are in 2.6.18.1
> at least.

Yeah, I realize the original code used 1 & 2, but this is a good
opportunity to improve that.

>
> Thanks for the comments. I've made these changes. Should I resubmit
> it to the mailing list (inline this time)?

Yeah, that would be great. You may get a bigger response if you cc'ed
[email protected] as well.

> - Eric
--
David Kleikamp
IBM Linux Technology Center