From: Erez Zadok Date: Fri, 19 Sep 2008 05:08:11 +0000 (-0400) Subject: Unionfs: just warn in put_super instead of BUG-ing X-Git-Tag: unionfs-2.5~8 X-Git-Url: https://git.fsl.cs.sunysb.edu/?a=commitdiff_plain;h=08fc792a738b857f4a42f55e413a8f1c74dd9574;p=unionfs-2.6.21.y.git Unionfs: just warn in put_super instead of BUG-ing Signed-off-by: Erez Zadok --- diff --git a/fs/unionfs/super.c b/fs/unionfs/super.c index c68b2f8b679..8e02c38a3c2 100644 --- a/fs/unionfs/super.c +++ b/fs/unionfs/super.c @@ -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++) {