[2.6.5, ext3] getdents reports files that stat says aren't there

felix-kernel_at_fefe.de
Date: 05/17/04

  • Next message: Rob Landley: "Re: [PATCH] sis900 fix (Was: [CHECKER] Resource leaks in driver shutdown functions)"
    Date:	Mon, 17 May 2004 21:39:54 +0200
    To: linux-kernel@vger.kernel.org
    
    

    I keep getting this effect on my ext3 file system.
    Applications like ls call readdir, get long deleted files, then stat
    them, and get ENOENT.

    Most applications can handle this, but some report ugly errors or
    warnings. I wonder: why does getdents report entries of deleted files?
    I ran e2fsck on the partition, but it found nothing. So I guess it's
    not a file system error. I have been seeing this for months now. It
    does not actually hurt a lot, but I think it should be fixed
    nonetheless.

    Felix
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Rob Landley: "Re: [PATCH] sis900 fix (Was: [CHECKER] Resource leaks in driver shutdown functions)"

    Relevant Pages

    • Re: Arbitrary Sandbox
      ... developed (hence the arbitrary requirement) while other applications ... like network access and file system ... virtualization product out there. ...
      (comp.lang.ada)
    • Re: ActiveX Dead? Alternatives?
      ... especially an ActiveX with file system access ... > Since ActiveX may be written in unmanaged code, ... What I meant is that it is a file system of 64-bit OS, and XP x64 ... unaware applications with such low level access may not work under XP ...
      (microsoft.public.dotnet.languages.vc)
    • Re: [2.6.5, ext3] getdents reports files that stat says arent there
      ... > I keep getting this effect on my ext3 file system. ... > Applications like ls call readdir, get long deleted files, then stat ... why does getdents report entries of deleted files? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Problems with iPhoto
      ... into Photoshop) and then re-saving them with a modified file name. ... You send the image to Photoshop from iPhoto itself, ... There's a fundamental error of concept here, which affects some applications ... application must have the capability to navigate the file system; ...
      (uk.comp.sys.mac)
    • Re: Sample DOSFS disk image file for testing
      ... The systems using the file system have to keep track of file size. ... Current FAT32 implementations handle 4GB files just fine (FAT16 can't ... and in applications (although since these tended to ... And we are talking volume sizes, not file sizes. ...
      (comp.arch.embedded)