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

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

 



On 12 December 2012 09:14, Ben Myers <bpm@xxxxxxx> 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...
 
Do you have a wonky /etc/projects file or something?

Not AFAIK. Has the format or parsing changed?

hq ~ # cat /etc/projects 
3:/share/systems
4:/share/cs
5:/share/cas
5:/share/cfcp
6:/share/lgs
#7:/share/csd
8:/share/common
9:/share/summer

--
Brian May <brian@xxxxxxxxxxxxxxxxxxxxxxxx>
_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux