Whamcloud - gitweb
LU-12396 utils: lfs should not output 'nul' char 37/35137/2
authorPatrick Farrell <pfarrell@whamcloud.com>
Mon, 10 Jun 2019 16:29:06 +0000 (12:29 -0400)
committerPatrick Farrell <pfarrell@whamcloud.com>
Mon, 10 Jun 2019 16:33:33 +0000 (12:33 -0400)
commitfd3958b61c5f1c7ed520f07553b999af5522d8e0
tree0aea57ce5596d59470277aecd11c176f81c6e718
parent1aae733c16161513b07d7f8cc046299e2de5aad3
LU-12396 utils: lfs should not output 'nul' char

If lfs prints a nul char, it breaks parsing of the output.

Fixes: 68635c3d9b31 ("LU-11963 osd: Add nonrotational flag to statfs")
Signed-off-by: Yang Sheng <ys@whamcloud.com>
Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Ibfa77920adf3a6c62b01efb005d02ca81db7f7c1
lustre/utils/lfs.c