Re: 2.6.9bk6 msdos fs OOPS

From: OGAWA Hirofumi
Date: Thu Oct 28 2004 - 11:13:06 EST


Nigel Kukard <nkukard@xxxxxxxx> writes:

> could you shoot me the patch when you done plz :-)

The patch is following. I'm going to do my usual stress test for one
or two days.

Please CC to me if you found the problem.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>


[PATCH] FAT: remove wrong BUG_ON()

This is valid state if file was accessed by multiple processes at the
same time.

Signed-off-by: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
---

fs/fat/cache.c | 1 -
1 files changed, 1 deletion(-)

diff -puN fs/fat/cache.c~fat-cache-bug_on-fix fs/fat/cache.c
--- linux-2.6.10-rc1/fs/fat/cache.c~fat-cache-bug_on-fix 2004-10-28 01:52:38.000000000 +0900
+++ linux-2.6.10-rc1-hirofumi/fs/fat/cache.c 2004-10-28 01:52:45.000000000 +0900
@@ -147,7 +147,6 @@ static void fat_cache_add(struct inode *
goto out; /* this cache was invalidated */

cache = fat_cache_merge(inode, new);
- BUG_ON(new->id == FAT_CACHE_VALID && cache != NULL);
if (cache == NULL) {
if (MSDOS_I(inode)->nr_caches < fat_max_cache(inode)) {
MSDOS_I(inode)->nr_caches++;
_
-
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/