Unionfs: just warn in put_super instead of BUG-ing
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 19 Sep 2008 05:55:17 +0000 (01:55 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 19 Sep 2008 05:55:17 +0000 (01:55 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/super.c

index c68b2f8b679c282a1817942abf602ee846f0e06c..8e02c38a3c2bbd49b5e473fab9d99aee6fb6a703 100644 (file)
@@ -114,7 +114,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++) {