Re: [stable] patch sysfs-store-sysfs-inode-nrs-in-s_ino-to-avoid-readdir-oopses.patchqueued to -stable tree

From: Eric Sandeen
Date: Wed Jun 06 2007 - 17:40:25 EST


Chris Wright wrote:
> * gregkh@xxxxxxx (gregkh@xxxxxxx) wrote:
>> From: Eric Sandeen <sandeen@xxxxxxxxxxx>
>> Subject: sysfs: store sysfs inode nrs in s_ino to avoid readdir oopses
>>
>> Backport of
>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc1/2.6.22-rc1-mm1/broken-out/gregkh-driver-sysfs-allocate-inode-number-using-ida.patch
>>
>
> I didn't put this into -stable queue because the ida version is not
> upstream yet, so I don't think it's appropriate to backport it at this
> point in time.

Well, my backport of Tejun's patch explicitly doesn't use ida for just
that reason...

It uses a simple counter instead (which may give dup inode numbers, but
I think we have that today, and at least this shouldn't oops...)

*shrug*

-Eric

> thanks,
> -chris
>

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