• Steven Whitehouse's avatar
    [GFS2] Introduce array of buffers to struct metapath · dbac6710
    Steven Whitehouse authored
    The reason for doing this is to allow all the block mapping code
    to share the same array. As a result we can remove two arguments
    from lookup_metapath since they are now returned via the array.
    
    We also add a function to drop all refs to buffer heads when we
    are done with the metapath. The build_height function shares the
    struct metapath, but currently still frees its own buffers, and
    this will change in a future patch.
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    dbac6710
bmap.c 28.7 KB