• J
    btrfs: fix missing last-entry in readdir(3) · 406266ab
    Jan Engelhardt 提交于
    parent 49313cdac7b34c9f7ecbb1780cfc648b1c082cd7 (v2.6.32-1-g49313cd)
    commit ff48c08e1c05c67e8348ab6f8a24de8034e0e34d
    Author: Jan Engelhardt <jengelh@medozas.de>
    Date:   Wed Dec 9 22:57:36 2009 +0100
    
    Btrfs: fix missing last-entry in readdir(3)
    
    When one does a 32-bit readdir(3), the last entry of a directory is
    missing. This is however not due to passing a large value to filldir,
    but it seems to have to do with glibc doing telldir or something
    quirky. In any case, this patch fixes it in practice.
    Signed-off-by: NJan Engelhardt <jengelh@medozas.de>
    Signed-off-by: NChris Mason <chris.mason@oracle.com>
    406266ab
inode.c 162.6 KB