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

index b60be8dd189b7dcb70118b0e6d0e29c50c0fc167..420207ff460ef7c3dba7c14d37fb84f1d37b23b5 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++) {