diff options
author | Ingo Molnar <mingo@elte.hu> | 2006-07-03 11:25:27 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-04 02:27:09 +0400 |
commit | cf51624999e56c88154b5f7d451a265db6aabff7 (patch) | |
tree | eee3fd290f9d79b26c4b6a2f1041f596da896a3c /include/linux/fs.h | |
parent | 91ebe2a9320db7195d1e25152b5d158fc66dc133 (diff) | |
download | linux-cf51624999e56c88154b5f7d451a265db6aabff7.tar.xz |
[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/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 1 |
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 { struct module *owner; struct file_system_type * next; struct list_head fs_supers; + struct lock_class_key s_lock_key; }; extern int get_sb_bdev(struct file_system_type *fs_type, |