Unionfs: just warn in put_super instead of BUG-ing
authorErez Zadok <ezk@cs.sunysb.edu>
Wed, 17 Sep 2008 07:22:21 +0000 (03:22 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Fri, 12 Aug 2011 02:38:43 +0000 (22:38 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/super.c

index cfd94945ab259d85a2319c6ad6bbdc61ea0aad2a..909159360d675df55c33bb0e62e9af5e9f49295c 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++) {