Re: [PATCH] btrfs-progs: device stats: Print devid instead of null

2016-04-07 Thread David Sterba
On Tue, Apr 05, 2016 at 05:27:43PM +0200, Patrik Lundquist wrote: > Print e.g. "[devid:4].write_io_errs   6" instead of > "[(null)].write_io_errs   6" when device is missing. > > Signed-off-by: Patrik Lundquist Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-b

[PATCH] btrfs-progs: device stats: Print devid instead of null

2016-04-05 Thread Patrik Lundquist
Print e.g. "[devid:4].write_io_errs   6" instead of "[(null)].write_io_errs   6" when device is missing. Signed-off-by: Patrik Lundquist --- cmds-device.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/cmds-device.c b/cmds-device.c index b17b6c6..7616c43 100644 --- a/cmds-device.c ++