projects
/
lwext4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ext4_bcache: do not allow cache shaking when callback is invoked.
[lwext4.git]
/
lwext4
/
ext4_bcache.h
diff --git
a/lwext4/ext4_bcache.h
b/lwext4/ext4_bcache.h
index 61751f761b2f907892298273010087864cf586df..bceb75a12fdb490091b04d3e2ed4b4fdc14889d3 100644
(file)
--- a/
lwext4/ext4_bcache.h
+++ b/
lwext4/ext4_bcache.h
@@
-135,6
+135,9
@@
struct ext4_bcache {
/**@brief The blockdev binded to this block cache*/
struct ext4_blockdev *bdev;
+ /**@brief The cache should not be shaked */
+ bool dont_shake;
+
/**@brief A tree holding all bufs*/
RB_HEAD(ext4_buf_lba, ext4_buf) lba_root;