ref: e6634c060580c04c0b1dd4bbf90a175e5e43f835
parent: d3b8847a0e06b130bade7e0365100fdf52efee33
author: ngkaho1234 <[email protected]>
date: Mon Nov 23 08:39:29 EST 2015
ext4_bcache: fix return value of ext4_buf_lowest_lru (lba -> lru)
--- a/lwext4/ext4_bcache.c
+++ b/lwext4/ext4_bcache.c
@@ -126,7 +126,7 @@
struct ext4_buf *ext4_buf_lowest_lru(struct ext4_bcache *bc)
{
- return RB_MIN(ext4_buf_lba, &bc->lba_root);
+ return RB_MIN(ext4_buf_lru, &bc->lru_root);
}
void ext4_bcache_drop_buf(struct ext4_bcache *bc, struct ext4_buf *buf)