If argument b is set to 0, au_add_till_max returns the value of constant ULLONG_MAX. In this case, old is equal to a and the condition fails. Index: aufs3-standalone.git/fs/aufs/super.c =================================================================== --- aufs3-standalone.git.orig/fs/aufs/super.c 2012-03-13 01:44:21.000000000 +0100 +++ aufs3-standalone.git/fs/aufs/super.c 2012-03-13 01:50:55.000000000 +0100 @@ -305,7 +305,7 @@ old = a; a += b; - if (old < a) + if (old <= a) return a; return ULLONG_MAX;
------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d