aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-07-03 03:25:27 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-03 18:27:09 -0400
commitcf51624999e56c88154b5f7d451a265db6aabff7 (patch)
treeeee3fd290f9d79b26c4b6a2f1041f596da896a3c /include
parent91ebe2a9320db7195d1e25152b5d158fc66dc133 (diff)
[PATCH] lockdep: annotate ->s_lock
Teach special (per-filesystem) locking code to the lock validator. Minimal effect on non-lockdep kernels: one extra parameter to alloc_super(). Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 05ded9e76b23..0a3ea52d711e 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1295,6 +1295,7 @@ struct file_system_type {
1295 struct module *owner; 1295 struct module *owner;
1296 struct file_system_type * next; 1296 struct file_system_type * next;
1297 struct list_head fs_supers; 1297 struct list_head fs_supers;
1298 struct lock_class_key s_lock_key;
1298}; 1299};
1299 1300
1300extern int get_sb_bdev(struct file_system_type *fs_type, 1301extern int get_sb_bdev(struct file_system_type *fs_type,