linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / fs / coda / cnode.c
index 4c9fecb..23aeef5 100644 (file)
@@ -120,7 +120,8 @@ void coda_replace_fid(struct inode *inode, struct CodaFid *oldfid,
        
        cii = ITOC(inode);
 
-       BUG_ON(!coda_fideq(&cii->c_fid, oldfid));
+       if (!coda_fideq(&cii->c_fid, oldfid))
+               BUG();
 
        /* replace fid and rehash inode */
        /* XXX we probably need to hold some lock here! */