• M
    Btrfs: add a new "type" field into the block reservation structure · 66d8f3dd
    Miao Xie 提交于
    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: NMiao Xie <miaox@cn.fujitsu.com>
    66d8f3dd
delayed-inode.c 50.0 KB