lkml.org 
[lkml]   [2007]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 15/40] dm delay: fix status


    -stable review patch. If anyone has any objections, please let us know.

    ------------------
    From: Milan Broz <mbroz@redhat.com>

    patch 79662d1ea37392651f2cff08626cab6a40ba3adc in mainline.


    Fix missing space in dm-delay target status output
    if separate read and write delay are configured.

    Signed-off-by: Milan Broz <mbroz@redhat.com>
    Signed-off-by: Alasdair G Kergon <agk@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>


    ---
    drivers/md/dm-delay.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/drivers/md/dm-delay.c
    +++ b/drivers/md/dm-delay.c
    @@ -305,7 +305,7 @@ static int delay_status(struct dm_target
    (unsigned long long) dc->start_read,
    dc->read_delay);
    if (dc->dev_write)
    - DMEMIT("%s %llu %u", dc->dev_write->name,
    + DMEMIT(" %s %llu %u", dc->dev_write->name,
    (unsigned long long) dc->start_write,
    dc->write_delay);
    break;
    --
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-11-15 08:01    [W:0.021 / U:4.336 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site