[lkml]   [2007]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [stable] [PATCH] - fix oops in sysfs_readdir
    Andrew Morton wrote:
    > On Mon, 21 May 2007 13:11:21 -0500
    > Eric Sandeen <> wrote:
    >> This is a non-ida backport of Tejun's patch in -mm at:
    >> for the 2.6.16 -stable tree - it follows the same scheme of using s_ino to safely
    >> store & retrieve the inode number of sysfs entries for use in sysfs_readdir,
    >> but uses a brain-dead-simple inode nr allocator rather than ida, which would
    >> bring along a lot of newer, more complex code.
    >> No, this doesn't guarantee uniqueness of sysfs inode numbers, but then
    >> the code in -stable today doesn't either - and with this change, at least
    >> it shouldn't oops.
    > So I'm sitting here whether to commend this patch to google kernel maintainers
    > for 2.6.18 backport, but I realise I don't know what it does. And I don't know
    > if it fixes the reclaim-time oopses they were intermittently seeing, or if it
    > fixes something else and if so what that is.
    > Sigh. Better changelogs, please.

    Sorry Andrew. I referenced Tejun's upstream patch in -mm which has a
    nice changelog etc, and this is a backport of that, and does the same
    thing in the same way and solves the same problem - but that doesn't
    help if you just want to toss this message into your patch stack. Will
    fix up & resend.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-05-22 02:23    [W:0.020 / U:190.020 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site