projects
/
unionfs-3.4.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5140497
)
Unionfs: Actually verify if dentry's info node is locked
author
Erez Zadok
<ezk@cs.sunysb.edu>
Mon, 9 Apr 2007 13:57:51 +0000
(09:57 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 11 Nov 2014 02:31:29 +0000
(21:31 -0500)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
fs/unionfs/fanout.h
patch
|
blob
|
history
diff --git
a/fs/unionfs/fanout.h
b/fs/unionfs/fanout.h
index 3d1dd4c647a16aa4ec14d0322bf07cd9861de6b1..e8c0feeccb226d4d12c721c4d675d30ec6655a74 100644
(file)
--- a/
fs/unionfs/fanout.h
+++ b/
fs/unionfs/fanout.h
@@
-205,6
+205,7
@@
static inline void unionfs_unlock_dentry(struct dentry *d)
static inline void verify_locked(struct dentry *d)
{
+ BUG_ON(!mutex_is_locked(&UNIONFS_D(d)->lock));
}
#endif /* _FANOUT_H */