Bug#695640: xfs_quota: cannot find mount point for path: Success

Dave Chinner david at fromorbit.com
Tue Dec 11 16:36:01 CST 2012


On Wed, Dec 12, 2012 at 09:19:44AM +1100, Brian May wrote:
> On 12 December 2012 09:14, Ben Myers <bpm at sgi.com> wrote:
> 
> > Looks like that would be print out of fs_table_initialise_projects.
> >
> >  40 static int
> >  41 fs_device_number(
> >  42         const char      *name,
> >  43         dev_t           *devnum)
> >  44 {
> >  45         struct stat64   sbuf;
> >  46
> >  47         if (stat64(name, &sbuf) < 0)
> >  48                 return errno;
> >                         ^^^^^^^^ here?
> >
> 
> Yes, I found the same (IIRC) code. However, strace clearly shows the result
> of stat64 is 0, and the above is for values less then 0, so this shouldn't
> happen...

Can you test a current upstream version and if it fails post the
full strace output? There's been some changes recently for quota
iteration bugs that may avoid/fix this issue...

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list