[xfs-masters] [Bug 808] For Linux-2.6.28 kernel and XFS filesystem, glibc readdir misses final file in directory listings

bugzilla-daemon at oss.sgi.com bugzilla-daemon at oss.sgi.com
Mon Dec 29 14:34:04 CST 2008


http://oss.sgi.com/bugzilla/show_bug.cgi?id=808


hch at xfs.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #250 is|0                           |1
           obsolete|                            |
         AssignedTo|xfs-masters at oss.sgi.com     |hch at xfs.org




------- Additional Comments From hch at xfs.org  2008-12-29 14:34 CST -------
Created an attachment (id=252)
 --> (http://oss.sgi.com/bugzilla/attachment.cgi?id=252&action=view)
Cap offsets in directories to signed 32bit values

Ok, the patch you quoted removed the truncatation of all directory offsets to a
singed 32bit value.  glibc checks for this and returns -EOVERFLOW in your
specific configuration.

Below is a patch the fixes the problem for me when I add a manual truncation
check.	It's probably not the final version, I'd like to take it to the
mailinglist after this.

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the xfs-masters mailing list