Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / fs / coda / cnode.c
index 23aeef5..4c9fecb 100644 (file)
@@ -120,8 +120,7 @@ void coda_replace_fid(struct inode *inode, struct CodaFid *oldfid,
        
        cii = ITOC(inode);
 
-       if (!coda_fideq(&cii->c_fid, oldfid))
-               BUG();
+       BUG_ON(!coda_fideq(&cii->c_fid, oldfid));
 
        /* replace fid and rehash inode */
        /* XXX we probably need to hold some lock here! */