From: Matthew Wilcox Date: Tue, 26 Feb 2008 14:53:20 +0000 (-0500) Subject: Fix quota.h includes X-Git-Tag: v2.6.26-rc1~1155^2~7 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b91de2e58318d1168bc13d164478c1a7217a63a;p=linux-2.6 Fix quota.h includes quota.h currently relies on asm/semaphore.h (through some chain; it doesn't actually include semaphore.h itself) to include wait.h. As well as being bad practice to rely on an implicit include, subsequent patches will break this. While I'm in this file, add atomic.h and list.h, and sort the list of includes. Signed-off-by: Matthew Wilcox --- diff --git a/include/linux/quota.h b/include/linux/quota.h index 6e0393a5b2..eb560d031a 100644 --- a/include/linux/quota.h +++ b/include/linux/quota.h @@ -160,14 +160,18 @@ enum { #ifdef __KERNEL__ -#include -#include +#include #include +#include +#include +#include #include #include #include +#include + extern spinlock_t dq_data_lock; /* Maximal numbers of writes for quota operation (insert/delete/update)