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

index 2e1ba1a6294fbad495d92149e701efcc690c533a..72b74da56a1ef4ad3b9318d36767794ecc574188 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++) {