[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strage values from FIBMAP on holes or after end of file



hi Utz,

On Fri, Aug 03, 2001 at 12:55:41AM +0200, utz lehmann wrote:
> ...
> but i think the FIBMAP ioctl should return 0 as blocknumber for holes and
> after the end of the file.
> 
> > > Hi
> > > 
> > > The FIBMAP ioctl on holes or after end of file gives the 
> > > values -1 to 6.
> > > ext2 and reiserfs reurns 0. I thing this is the right value.
> 

I have just checked in a fix, should appear in cvs shortly.
Thanks for the detailed analysis & test program.

Did you just discover this problem by inspection, or did it
bite you in some other way?   (was some other program using
the FIBMAP ioctl and not working correctly with XFS?)

cheers.

-- 
Nathan