• Jan Kara's avatar
    udf: Do not allocate blocks on page writeback · 36580ed0
    Jan Kara authored
    Now when we allocate blocks on write page fault there should be no block
    allocation happening on page writeback. So just ignore the 'create' flag
    passed to udf_get_block(). Note that we can spot dirty buffers without
    underlying blocks allocated in writeback when we race with expanding
    truncate. However in that case these buffers do not contain valid data
    so we can safely ignore them and we would just create ourselves problem
    when to trim the tail extent.
    Signed-off-by: default avatarJan Kara <jack@suse.cz>
    36580ed0
inode.c 65.2 KB