• 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
raid5.c 45.7 KB