summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-02-12 11:51:52 +0300
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 20:48:28 +0300
commitae4472aa03d38b11f334dc0030b82e0c9f249af9 (patch)
treedbcaa9f2d45ee0fdd306b0f5b602c86606e4b109
parent5be02f1d8af4c7baf3a5a31ab9c0cba9fdc52680 (diff)
downloadlinux-ae4472aa03d38b11f334dc0030b82e0c9f249af9.tar.xz
[PATCH] QUOTA: Have <linux/quota.h> include <linux/rwsem.h> explicitly
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>
-rw-r--r--include/linux/quota.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/quota.h b/include/linux/quota.h
index b8fbf26eb885..77db80a953d6 100644
--- a/include/linux/quota.h
+++ b/include/linux/quota.h
@@ -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>