提交 ae4472aa 编写于 作者: R Robert P. J. Day 提交者: Linus Torvalds

[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: NRobert P. J. Day <rpjday@mindspring.com>
Acked-by: NJan Kara <jack@suse.cz>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 5be02f1d
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册