• Neil Brown's avatar
    [PATCH] md: Convert /proc/mdstat to use seq_file · d7710d00
    Neil Brown authored
    From: Angus Sawyer <angus.sawyer@dsl.pipex.com>
    
    Mainly straightforward convert of sprintf -> seq_printf.  seq_start and
    seq_next modelled on /proc/partitions.  locking/ref counting as for
    ITERATE_MDDEV.
    
    pos == 0 -> header
    pos == n -> nth mddev
    pos == 0x10000 -> tail
    d7710d00
linear.c 5.77 KB