The patch titled xfs: fix random.h include for non-debug builds has been added to the -mm tree. Its filename is xfs-fix-randomh-include-for-non-debug-builds.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: xfs: fix random.h include for non-debug builds From: David Chinner <dgc@xxxxxxx> Include linux/random.h in all builds, not just debug. Signed-off-by: Dave Chinner <dgc@xxxxxxx> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx> Cc: Lachlan McIlroy <lachlan@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/xfs/linux-2.6/xfs_linux.h | 1 + fs/xfs/support/debug.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff -puN fs/xfs/linux-2.6/xfs_linux.h~xfs-fix-randomh-include-for-non-debug-builds fs/xfs/linux-2.6/xfs_linux.h --- a/fs/xfs/linux-2.6/xfs_linux.h~xfs-fix-randomh-include-for-non-debug-builds +++ a/fs/xfs/linux-2.6/xfs_linux.h @@ -75,6 +75,7 @@ #include <linux/delay.h> #include <linux/log2.h> #include <linux/spinlock.h> +#include <linux/random.h> #include <asm/page.h> #include <asm/div64.h> diff -puN fs/xfs/support/debug.h~xfs-fix-randomh-include-for-non-debug-builds fs/xfs/support/debug.h --- a/fs/xfs/support/debug.h~xfs-fix-randomh-include-for-non-debug-builds +++ a/fs/xfs/support/debug.h @@ -49,8 +49,6 @@ extern void assfail(char *expr, char *f, #else /* DEBUG */ -#include <linux/random.h> - #define ASSERT(expr) \ (unlikely(expr) ? (void)0 : assfail(#expr, __FILE__, __LINE__)) _ Patches currently in -mm which might be from dgc@xxxxxxx are origin.patch xfs-fix-randomh-include-for-non-debug-builds.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html