git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
fs
/
coda
/
cnode.c
diff --git
a/fs/coda/cnode.c
b/fs/coda/cnode.c
index
23aeef5
..
4c9fecb
100644
(file)
--- a/
fs/coda/cnode.c
+++ b/
fs/coda/cnode.c
@@
-120,8
+120,7
@@
void coda_replace_fid(struct inode *inode, struct CodaFid *oldfid,
cii = ITOC(inode);
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! */
/* replace fid and rehash inode */
/* XXX we probably need to hold some lock here! */