提交 8ec8519b 编写于 作者: D David Sterba

btrfs: switch extent_page_data bit fields to bools

The semantics of the two members is a boolean, so change the type
accordingly.  We have space in extent_page_data due to alignment there's
no change in size.
Signed-off-by: NDavid Sterba <dsterba@suse.com>
上级 428c8e03
......@@ -109,10 +109,10 @@ struct extent_page_data {
/* tells writepage not to lock the state bits for this range
* it still does the unlocking
*/
unsigned int extent_locked:1;
bool extent_locked;
/* tells the submit_bio code to use REQ_SYNC */
unsigned int sync_io:1;
bool sync_io;
};
static void submit_one_bio(struct btrfs_bio_ctrl *bio_ctrl)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册