diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-07-11 13:56:18 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2021-07-11 13:57:11 -0400 |
commit | 700d013b5280b72a1fb3830d8f70ecce5decb0ab (patch) | |
tree | 9b74fdad5894ac8a9af1b0a0ab9a69ed7a3e32ee /include/linux | |
parent | 8e6f35cbf344dbefbfe6420e06a47f64079f72ad (diff) |
Update bcachefs sources to 400c2f8d96 bcachefs: Mask out unknown compat features when going read-write
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/lockdep.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index 1a7f024e..3831ef2d 100644 --- a/include/linux/lockdep.h +++ b/include/linux/lockdep.h @@ -51,5 +51,10 @@ debug_check_no_locks_held(void) { } +static inline int lock_class_is_held(struct lock_class_key *k) +{ + return 0; +} + #endif /* __TOOLS_LINUX_LOCKDEP_H */ |