Unionfs: just warn in put_super instead of BUG-ing
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 19 Sep 2008 01:49:47 +0000 (21:49 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 13 Jan 2009 01:43:39 +0000 (20:43 -0500)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/super.c

index 2f3c05042cfbf19d21114798bf46d10963bd90a7..6fd97a882bc990c1907edf0988d60138940bf2cf 100644 (file)
@@ -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++) {