From 17d7332a5af28eb5c86d34fc1445d14fb728d806 Mon Sep 17 00:00:00 2001 From: Erez_Zadok Date: Fri, 25 May 2007 22:01:03 -0400 Subject: [PATCH] documentation: better comment in branch_id_to_idx Signed-off-by: Erez Zadok --- fs/unionfs/fanout.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fs/unionfs/fanout.h b/fs/unionfs/fanout.h index 03198351c44..9d22c372494 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; } -- 2.43.0