projects
/
unionfs-3.4.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f26702a
)
documentation: better comment in branch_id_to_idx
author
Erez_Zadok
<ezk@cs.sunysb.edu>
Sat, 26 May 2007 02:01:03 +0000
(22:01 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 11 Nov 2014 02:33:17 +0000
(21:33 -0500)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/fanout.h
patch
|
blob
|
history
diff --git
a/fs/unionfs/fanout.h
b/fs/unionfs/fanout.h
index 03198351c44c80878af1c320f5e4aa560e9d27d7..9d22c372494d678fd8b53a4fc69ad65da64678b2 100644
(file)
--- a/
fs/unionfs/fanout.h
+++ b/
fs/unionfs/fanout.h
@@
-71,10
+71,7
@@
static inline int branch_id_to_idx(struct super_block *sb, int id)
if (branch_id(sb, i) == id)
return i;
}
- /*
- * XXX: maybe we should BUG_ON if not found new branch index?
- * (really that should never happen).
- */
+ /* in the non-ODF code, this should really never happen */
printk(KERN_WARNING "unionfs: cannot find branch with id %d\n", id);
return -1;
}