commit 604bed0a494fdef7696eacb07323eb79daf1cf76
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date: Fri May 25 17:20:54 2007 -0400
removed warning when branch_id_to_idx fails to match requested id, and
added a
comment for why this can be legal in the odf
diff --git a/fs/unionfs/fanout.h b/fs/unionfs/fanout.h
index acbe053..a70fadd 100644
--- a/fs/unionfs/fanout.h
+++ b/fs/unionfs/fanout.h
@@ -72,10 +72,12 @@ static inline int branch_id_to_idx(struct super_block *sb,
int id)
return i;
}
/*
- * XXX: maybe we should BUG_ON if not found new branch index?
- * (really that should never happen).
+ * Opaquness is stored in the odf using branch ids. The odf
+ * uses this function to translate the branch id to branch index.
+ * Since branch management causes some branch ids to change or be
+ * removed, this function can legally fail to find the branch id
+ * we are looking for.
*/
- printk(KERN_WARNING "unionfs: cannot find branch with id %d\n", id);
return -1;
}
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs