summaryrefslogtreecommitdiff
path: root/libbcachefs/fs.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-11-13 14:41:06 -0500
committerKent Overstreet <kent.overstreet@gmail.com>2020-11-16 18:23:54 -0500
commit13f53aa228c83731226f4a359983215f1f7c2a47 (patch)
treef13df1911f064fe507afbd2420d49be797904e63 /libbcachefs/fs.h
parent3420d86959401e5884627efdf3c2361e50b05eaa (diff)
Update bcachefs sources to d1fd471830 bcachefs: Add more debug checks
Diffstat (limited to 'libbcachefs/fs.h')
-rw-r--r--libbcachefs/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbcachefs/fs.h b/libbcachefs/fs.h
index eda903a4..4ee1ac99 100644
--- a/libbcachefs/fs.h
+++ b/libbcachefs/fs.h
@@ -26,6 +26,7 @@ static inline void pagecache_lock_init(struct pagecache_lock *lock)
}
void bch2_pagecache_add_put(struct pagecache_lock *);
+bool bch2_pagecache_add_tryget(struct pagecache_lock *);
void bch2_pagecache_add_get(struct pagecache_lock *);
void bch2_pagecache_block_put(struct pagecache_lock *);
void bch2_pagecache_block_get(struct pagecache_lock *);