Hi

The attached patch is a fix for a kernel BUG in AUFS 20080211. The
hd_intent_list is kfree'd, but the pointer is not reset, which will cause
the BUG, next time the hd is checked for intents.

I'm using a variant of the ubuntu patch, so the actual problem might be
somewhere else.

Regards

Jan-Marek Glogowski
--- a/fs/aufs/dinfo.c.orig      2008-02-14 03:01:38.000000000 +0100
+++ b/fs/aufs/dinfo.c   2008-02-14 02:57:05.000000000 +0100
@@ -379,6 +379,7 @@
                        kfree(hdi);
                }
                kfree(hd->hd_intent_list);
+               hd->hd_intent_list = NULL;
        }
 #endif
 }
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Reply via email to