Re: [PATCH] FAT: rewrite the cache for file allocation table lookup (2/4)

From: Christoph Hellwig
Date: Sun Sep 05 2004 - 06:43:44 EST


> +#if 0
> +#define debug_pr(fmt, args...) printk(fmt, ##args)
> +#else
> +#define debug_pr(fmt, args...)
> +#endif

We have a pr_debug() in <linux/kernel.h> that you could use.

> +static inline int fat_max_cache(struct inode *inode)
> +{
> + return FAT_MAX_CACHE;
> +}

Do you plan to have per-inode caches later? This seems rather useless
otherwise.

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