X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fcoda%2Fcache.c;fp=fs%2Fcoda%2Fcache.c;h=c607d923350a4ee1bb46259ddd39d9761301bb72;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=5d0527133266c9a44cb800c7c2e41979dcaf964e;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/fs/coda/cache.c b/fs/coda/cache.c index 5d0527133..c607d9233 100644 --- a/fs/coda/cache.c +++ b/fs/coda/cache.c @@ -51,7 +51,7 @@ void coda_cache_clear_all(struct super_block *sb) struct coda_sb_info *sbi; sbi = coda_sbp(sb); - BUG_ON(!sbi); + if (!sbi) BUG(); atomic_inc(&permission_epoch); }