GIT: unionfs2-2.6.27.y: documentation: better comment in branch_id_to_idx
Erez Zadok
ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:16:28 EDT 2010
commit 23bb7089bdc11d51f971c4b61127f3d71ff76808
Author: Erez_Zadok <ezk at cs.sunysb.edu>
Date: Fri May 25 22:01:03 2007 -0400
documentation: better comment in branch_id_to_idx
Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>
diff --git a/fs/unionfs/fanout.h b/fs/unionfs/fanout.h
index 0319835..9d22c37 100644
--- 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;
}
More information about the unionfs-cvs
mailing list