commit | 42819eb7a0957cc340ad4ed8bba736bab5ebc464 | [log] [tgz] |
---|---|---|
author | Martin Wilck <mwilck@suse.com> | Mon Aug 14 22:12:37 2017 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Wed Aug 16 10:06:10 2017 +0200 |
tree | 35400590bfecbbdff6c8df86819b509356df43fd | |
parent | a082b426286d1ead97fb87646ea361d528be023d [diff] |
nvmet: don't overwrite identify sn/fr with 0-bytes The merged version of my patch "nvmet: don't report 0-bytes in serial number" fails to remove two lines which should have been replaced, so that the space-padded strings are overwritten again with 0-bytes. Fix it. Fixes: 42de82a8b544 nvmet: don't report 0-bytes in serial number Signed-off-by: Martin Wilck <mwilck@suse.com> Reviewed-by: Sagi Grimberg <sagi@grimbeg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>