From: Erez_Zadok Date: Sat, 26 May 2007 02:01:03 +0000 (-0400) Subject: documentation: better comment in branch_id_to_idx X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=1b29d0d0b6ccaf58246b023c0745f42560a6abe6;p=unionfs-2.6.39.y.git documentation: better comment in branch_id_to_idx Signed-off-by: Erez Zadok --- 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; }