• Jan Kara's avatar
    udf: Unify types in anchor block detection · bd904f3c
    Jan Kara authored
    When detecting last recorded block and from it derived anchor block
    position, we were mixing unsigned long, u32, and sector_t types. Since
    udf supports only 32-bit block numbers this is harmless but sometimes
    makes things awkward. Convert everything to udf_pblk_t and also handle
    the situation when block device size would not fit into udf_pblk_t.
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    bd904f3c
udfdecl.h 9.2 KB