[PATCH] QUOTA: Have <linux/quota.h> include <linux/rwsem.h> explicitly
authorRobert P. J. Day <rpjday@mindspring.com>
Mon, 12 Feb 2007 08:51:52 +0000 (00:51 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:28 +0000 (09:48 -0800)
Since quota.h declares a R/W semaphore, it should include rwsem.h
explicitly.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Acked-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/quota.h

index b8fbf26eb88579265a95e490700bb370d52544d2..77db80a953d61ba400890c4a5b128606c5ec6a28 100644 (file)
@@ -132,6 +132,7 @@ struct if_dqinfo {
 
 #ifdef __KERNEL__
 #include <linux/spinlock.h>
+#include <linux/rwsem.h>
 #include <linux/mutex.h>
 
 #include <linux/dqblk_xfs.h>