fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / linux / blockgroup_lock.h
index 87a890c..8607312 100644 (file)
@@ -1,10 +1,11 @@
+#ifndef _LINUX_BLOCKGROUP_LOCK_H
+#define _LINUX_BLOCKGROUP_LOCK_H
 /*
  * Per-blockgroup locking for ext2 and ext3.
  *
  * Simple hashed spinlocking.
  */
 
-#include <linux/config.h>
 #include <linux/spinlock.h>
 #include <linux/cache.h>
 
@@ -55,4 +56,4 @@ static inline void bgl_lock_init(struct blockgroup_lock *bgl)
 #define sb_bgl_lock(sb, block_group) \
        (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
 
-
+#endif