提交 e36f1dfc 编写于 作者: T Tejun Heo 提交者: Jens Axboe

bdi: remove unused stuff

Two flags and one bdi_writeback field are no longer used.  Remove
them.
Signed-off-by: NTejun Heo <tj@kernel.org>
Signed-off-by: NJens Axboe <axboe@fb.com>
上级 ff9ea323
...@@ -28,12 +28,10 @@ struct dentry; ...@@ -28,12 +28,10 @@ struct dentry;
* Bits in backing_dev_info.state * Bits in backing_dev_info.state
*/ */
enum bdi_state { enum bdi_state {
BDI_wb_alloc, /* Default embedded wb allocated */
BDI_async_congested, /* The async (write) queue is getting full */ BDI_async_congested, /* The async (write) queue is getting full */
BDI_sync_congested, /* The sync queue is getting full */ BDI_sync_congested, /* The sync queue is getting full */
BDI_registered, /* bdi_register() was done */ BDI_registered, /* bdi_register() was done */
BDI_writeback_running, /* Writeback is in progress */ BDI_writeback_running, /* Writeback is in progress */
BDI_unused, /* Available bits start here */
}; };
typedef int (congested_fn)(void *, int); typedef int (congested_fn)(void *, int);
...@@ -50,7 +48,6 @@ enum bdi_stat_item { ...@@ -50,7 +48,6 @@ enum bdi_stat_item {
struct bdi_writeback { struct bdi_writeback {
struct backing_dev_info *bdi; /* our parent bdi */ struct backing_dev_info *bdi; /* our parent bdi */
unsigned int nr;
unsigned long last_old_flush; /* last old data flush */ unsigned long last_old_flush; /* last old data flush */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部