Re: 2.6.0-test4-mm3.1 oops with ext3 extended attributes on R/O filesystem

Valdis.Kletnieks_at_vt.edu
Date: 08/31/03

  • Next message: Matthias Andree: "HEADS UP lk-changelog/shortlog: security announcement"
    To: Andrew Morton <akpm@osdl.org>
    Date:	Sun, 31 Aug 2003 10:24:18 -0400
    
    
    

    On Sat, 30 Aug 2003 21:47:51 PDT, Andrew Morton said:

    > Thanks. It's a very straightforward bug; I'll fix it with the below patch.

    Fix tested in -test4-mm4, program gets a proper '-EROFS', no signs of hanging
    locks. Looks good from here, please push to appropriate maintainers..

    > A wider question is whether we should have got this far into the filesystem
    > code if the fs is mounted read-only. A check right up at the VFS
    > setxattr() level might make sense.

    Yes, I was a bit surprised at that as well...

    > Regardless of that, this fix is needed because journal_start() could fail
    > for other reasons.

    Good point, and one I hadn't considered...

    
    

    -
    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/


    • application/pgp-signature attachment: stored

  • Next message: Matthias Andree: "HEADS UP lk-changelog/shortlog: security announcement"

    Relevant Pages

    • Re: I request inclusion of SAS Transport Layer and AIC-94xx into the kernel
      ... >> User space locking can only guarantee atomic operations in user space. ... > Sorry but I completely fail to see this argument., locks it, then hangs. ... Process A opens an attribute and writes to it. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: robust futex deadlock detection patch
      ... locks across the check for deadlocks and into __down_interruptible. ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: uid-Another Problem in writing to /proc/loadavg file
      ... >> My previous observation about hanging on is not correct. ... >load averages per user. ... >> Computer Engineering Lab ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: nforce2 lockups
      ... > (if not counting unability to enabe SiI SATA DMA mode with attached ... Usually it locks up a lot ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.13-rc3-mm3
      ... >> That number rapidly increases and so it looks like something is failing ... This locks the system up after the "INIT: ... the system proceeds past INIT and boots normally but X still locks up... ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)