Skip to content
Snippets Groups Projects
Commit 66d8f3dd authored by Miao Xie's avatar Miao Xie Committed by Chris Mason
Browse files

Btrfs: add a new "type" field into the block reservation structure


Sometimes we need choose the method of the reservation according to the type
of the block reservation, such as the reservation for the delayed inode update.
Now we identify the type just by comparing the address of the reservation
variants, it is very ugly if it is a temporary one because we need compare it
with all the common reservation variants. So we add a new "type" field to keep
the type the reservation variants.

Signed-off-by: default avatarMiao Xie <miaox@cn.fujitsu.com>
parent 6352b91d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment