GIT: unionfs2-2.6.27.y: Unionfs: just warn in put_super instead of BUG-ing

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:18:10 EDT 2010


commit d9622d3e136d07b30f188462b79ebc0a1462ce41
Author: Erez Zadok <ezk at cs.sunysb.edu>
Date:   Wed Sep 17 03:22:21 2008 -0400

    Unionfs: just warn in put_super instead of BUG-ing
    
    Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>

diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c
index cfd9494..9091593 100644
--- a/fs/unionfs/super.c
+++ b/fs/unionfs/super.c
@@ -124,7 +124,7 @@ static void unionfs_put_super(struct super_block *sb)
 			       bindex, branch_count(sb, bindex));
 			leaks = 1;
 		}
-	BUG_ON(leaks != 0);
+	WARN_ON(leaks != 0);
 
 	/* decrement lower super references */
 	for (bindex = bstart; bindex <= bend; bindex++) {


More information about the unionfs-cvs mailing list