]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/lockref.h
lockref: add ability to mark lockrefs "dead"
[linux.git] / include / linux / lockref.h
index ca07b5028b012abd94deabbe5891c6b7f150843f..f279ed9a91631cca7f236d20ef5a29d152332932 100644 (file)
@@ -33,4 +33,7 @@ extern int lockref_get_not_zero(struct lockref *);
 extern int lockref_get_or_lock(struct lockref *);
 extern int lockref_put_or_lock(struct lockref *);
 
+extern void lockref_mark_dead(struct lockref *);
+extern int lockref_get_not_dead(struct lockref *);
+
 #endif /* __LINUX_LOCKREF_H */