git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
include
/
linux
/
blockgroup_lock.h
diff --git
a/include/linux/blockgroup_lock.h
b/include/linux/blockgroup_lock.h
index
87a890c
..
0137ee5
100644
(file)
--- a/
include/linux/blockgroup_lock.h
+++ b/
include/linux/blockgroup_lock.h
@@
-1,3
+1,5
@@
+#ifndef _LINUX_BLOCKGROUP_LOCK_H
+#define _LINUX_BLOCKGROUP_LOCK_H
/*
* Per-blockgroup locking for ext2 and ext3.
*
@@
-55,4
+57,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