summaryrefslogtreecommitdiff
path: root/include/linux/jbd2.h
diff options
context:
space:
mode:
authorMingming Cao <cmm@us.ibm.com>2008-01-29 07:58:27 +0300
committerTheodore Ts'o <tytso@mit.edu>2008-01-29 07:58:27 +0300
commit7b7510662f4d05ddcc45d435769860e73e6aa20e (patch)
treeadf0fe32c57c53099b6604bcf40d914398a5504c /include/linux/jbd2.h
parentb939e3766ec19eb556cb784c2faace253c6e1560 (diff)
downloadlinux-7b7510662f4d05ddcc45d435769860e73e6aa20e.tar.xz
jbd2: add lockdep support
Ported from similar patch for the jbd layer. Signed-off-by: Mingming Cao <cmm@us.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'include/linux/jbd2.h')
-rw-r--r--include/linux/jbd2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h
index 98a2bc5d3e3f..2cbf6fdb1799 100644
--- a/include/linux/jbd2.h
+++ b/include/linux/jbd2.h
@@ -418,6 +418,10 @@ struct handle_s
unsigned int h_sync: 1; /* sync-on-close */
unsigned int h_jdata: 1; /* force data journaling */
unsigned int h_aborted: 1; /* fatal error on handle */
+
+#ifdef CONFIG_DEBUG_LOCK_ALLOC
+ struct lockdep_map h_lockdep_map;
+#endif
};