• Jan Kara's avatar
    udf: Allocate blocks on write page fault · 3c212048
    Jan Kara authored
    Currently if file with holes is mapped, udf allocates blocks for dirtied
    pages during page writeback. This however creates problems when to
    truncate final extent to proper size and currently we leave the last
    extent untruncated which violates UDF standard. So allocate blocks on
    write page fault instead. In that case the last extent gets truncated
    the file is closed and everything is happy.
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    3c212048
inode.c 64.5 KB