summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/buffer_head.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/linux/buffer_head.h b/include/linux/buffer_head.h
index 5560b6ee5878..761196f34323 100644
--- a/include/linux/buffer_head.h
+++ b/include/linux/buffer_head.h
@@ -4,8 +4,13 @@
* Everything to do with buffer_heads.
*/
-#ifndef BUFFER_FLAGS_H
-#define BUFFER_FLAGS_H
+#ifndef _LINUX_BUFFER_HEAD_H
+#define _LINUX_BUFFER_HEAD_H
+
+#include <linux/types.h>
+#include <linux/fs.h>
+#include <asm/atomic.h>
+
enum bh_state_bits {
BH_Uptodate, /* Contains valid data */
@@ -297,4 +302,4 @@ static inline void lock_buffer(struct buffer_head * bh)
void __buffer_error(char *file, int line);
#define buffer_error() __buffer_error(__FILE__, __LINE__)
-#endif /* BUFFER_FLAGS_H */
+#endif /* _LINUX_BUFFER_HEAD_H */