Commit bbb0dbfc authored by Roland Dreier's avatar Roland Dreier Committed by Linus Torvalds

[PATCH] linux/mount.h: add atomic.h and spinlock.h #includes

<linux/mount.h> uses atomic_t and spinlock_t, but doesn't include either
<asm/atomic.h> or <linux/spinlock.h>, which means that any users of
<linux/mount.h> have to include them.  This patch adds the necessary
#includes to avoid this.
Signed-off-by: default avatarRoland Dreier <roland@topspin.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 154a0a84
......@@ -13,6 +13,8 @@
#ifdef __KERNEL__
#include <linux/list.h>
#include <linux/spinlock.h>
#include <asm/atomic.h>
#define MNT_NOSUID 1
#define MNT_NODEV 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment