documentation: better comment in branch_id_to_idx
authorErez_Zadok <ezk@cs.sunysb.edu>
Sat, 26 May 2007 02:01:03 +0000 (22:01 -0400)
committerErez 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

index 03198351c44c80878af1c320f5e4aa560e9d27d7..9d22c372494d678fd8b53a4fc69ad65da64678b2 100644 (file)
@@ -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;
 }