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