diff options
Diffstat (limited to 'fs/sdfat/cache.c')
| -rw-r--r-- | fs/sdfat/cache.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/sdfat/cache.c b/fs/sdfat/cache.c index f0170c560..f6da3ae86 100644 --- a/fs/sdfat/cache.c +++ b/fs/sdfat/cache.c @@ -363,7 +363,9 @@ s32 fcache_release_all(struct super_block *sb) bp = bp->next; } +#ifdef CONFIG_SDFAT_DELAYED_META_DIRTY DMSG("BD:Release / dirty fat cache: %d (err:%d)\n", dirtycnt, ret); +#endif return ret; } @@ -676,7 +678,9 @@ s32 dcache_release_all(struct super_block *sb) s32 ret = 0; cache_ent_t *bp; FS_INFO_T *fsi = &(SDFAT_SB(sb)->fsi); +#ifdef CONFIG_SDFAT_DELAYED_META_DIRTY s32 dirtycnt = 0; +#endif /* Connect list elements: * LRU list : (A - B - ... - bp_front) + (bp_first + ... + bp_last) |
