Whamcloud - gitweb
LU-13197 debugfs: allow comment lines in command file 38/37438/6
authorAndreas Dilger <adilger@whamcloud.com>
Tue, 4 Feb 2020 22:35:01 +0000 (15:35 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 23 May 2020 23:02:54 +0000 (23:02 +0000)
commit8c041aaa224cf2349c4df9718bc42d8925425ffa
treeede585924f43cb9cc99ea5d5fea22dc8fdc3041e
parent039b852c6a40e12bec0d621bf7aa4f9b554a8dbc
LU-13197 debugfs: allow comment lines in command file

Allow comment lines with '#' at the start of the line in the command file
passed in to debugfs via the "-f" option or from standard input.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I9284a254104f355b0bac4c676ae85cbed63ebbe5
Reviewed-on: https://review.whamcloud.com/37438
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
debugfs/debugfs.c