• A
    gfs2: Iomap cleanups and improvements · 628e366d
    Andreas Gruenbacher 提交于
    Clean up gfs2_iomap_alloc and gfs2_iomap_get.  Document how
    gfs2_iomap_alloc works: it now needs to be called separately after
    gfs2_iomap_get where necessary; this will be used later by iomap write.
    Move gfs2_iomap_ops into bmap.c.
    
    Introduce a new gfs2_iomap_get_alloc helper and use it in
    fallocate_chunk: gfs2_iomap_begin will become unsuitable for fallocate
    with proper iomap write support.
    
    In gfs2_block_map and fallocate_chunk, zero-initialize struct iomap.
    Signed-off-by: NAndreas Gruenbacher <agruenba@redhat.com>
    Signed-off-by: NBob Peterson <rpeterso@redhat.com>
    628e366d
inode.c 49.0 KB