* [PATCH] FAT: remove wrong BUG_ON()
@ 2004-10-31 18:25 OGAWA Hirofumi
0 siblings, 0 replies; only message in thread
From: OGAWA Hirofumi @ 2004-10-31 18:25 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel
Hi,
Please apply
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
This is valid state if file was accessed by multiple processes at the
same time.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
---
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-31 08:14:49.000000000 +0900
+++ linux-2.6.10-rc1-hirofumi/fs/fat/cache.c 2004-10-31 08:14:49.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++;
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-31 18:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-31 18:25 [PATCH] FAT: remove wrong BUG_ON() OGAWA Hirofumi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®