Re: [PATCH] mb_cache_shrink() frees unexpected caches

From: Akinobu Mita
Date: Fri Jul 15 2005 - 10:15:48 EST


2005-07-15 (Fri) 16:36 +0200 Andreas Gruenbacher wrote:
> The cache parameter could indeed be removed. Not that it would matter much...
>

Currently, mbcache is used only for xattr on ext2/ext3 and reiserfs.
In other words, only one type of mbcache is used per-filesystem.
So any problems don't happen without the patch I sent.

But, for example when someone use mbcache as another purpose on ext3,
The crash will be caused by using mb_cache_shrink().

Therefore, I think your patch should not be committed until
mbcache will be limited to use only type per-filesystem.


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