xfs-masters
[Top] [All Lists]

[Bug 808] For Linux-2.6.28 kernel and XFS filesystem, glibc readdir miss

To: xfs-masters@xxxxxxxxxxx
Subject: [Bug 808] For Linux-2.6.28 kernel and XFS filesystem, glibc readdir misses final file in directory listings
From: bugzilla-daemon@xxxxxxxxxxx
Date: Mon, 29 Dec 2008 14:34:04 -0600
http://oss.sgi.com/bugzilla/show_bug.cgi?id=808


hch@xxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #250 is|0                           |1
           obsolete|                            |
         AssignedTo|xfs-masters@xxxxxxxxxxx     |hch@xxxxxxx




------- Additional Comments From hch@xxxxxxx  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.

<Prev in Thread] Current Thread [Next in Thread>