Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Aufs5 Standalone
Commits
ec26ee9c
Commit
ec26ee9c
authored
Feb 12, 2021
by
J. R. Okajima
Browse files
Merge branch 'aufs5.10/30stdalone' into aufs5.x-rcN/30stdalone
parents
6f8c79db
46678620
Changes
1
Show whitespace changes
Inline
Side-by-side
fs/aufs/rwsem.h
View file @
ec26ee9c
...
@@ -35,16 +35,20 @@
...
@@ -35,16 +35,20 @@
#ifdef CONFIG_LOCKDEP
#ifdef CONFIG_LOCKDEP
/* rwsem_is_locked() is unusable */
/* rwsem_is_locked() is unusable */
#define AuRwMustReadLock(rw) AuDebugOn(!lockdep_recursing(current) \
#define AuRwMustReadLock(rw) AuDebugOn(IS_ENABLED(CONFIG_LOCKDEP) \
&& !lockdep_recursing(current) \
&& debug_locks \
&& debug_locks \
&& !lockdep_is_held_type(rw, 1))
&& !lockdep_is_held_type(rw, 1))
#define AuRwMustWriteLock(rw) AuDebugOn(!lockdep_recursing(current) \
#define AuRwMustWriteLock(rw) AuDebugOn(IS_ENABLED(CONFIG_LOCKDEP) \
&& !lockdep_recursing(current) \
&& debug_locks \
&& debug_locks \
&& !lockdep_is_held_type(rw, 0))
&& !lockdep_is_held_type(rw, 0))
#define AuRwMustAnyLock(rw) AuDebugOn(!lockdep_recursing(current) \
#define AuRwMustAnyLock(rw) AuDebugOn(IS_ENABLED(CONFIG_LOCKDEP) \
&& !lockdep_recursing(current) \
&& debug_locks \
&& debug_locks \
&& !lockdep_is_held(rw))
&& !lockdep_is_held(rw))
#define AuRwDestroy(rw) AuDebugOn(!lockdep_recursing(current) \
#define AuRwDestroy(rw) AuDebugOn(IS_ENABLED(CONFIG_LOCKDEP) \
&& !lockdep_recursing(current) \
&& debug_locks \
&& debug_locks \
&& lockdep_is_held(rw))
&& lockdep_is_held(rw))
#else
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment