Files
Richard W.M. Jones c1a0822b79 daemon: Fix xfs_info parser because of new format.
The old parser had several problems: firstly it called the error path
sometimes without calling reply_with_error causing a protocol hang.
More seriously it had hard-coded line numbers, and since Fedora 21 the
output of xfs_info has changed, moving lines around.

Change the parser to be more robust against added fields by using the
first name on the line as the section name, thus 'bsize=' is
interpreted differently depending on whether it appears in the "data"
section or the "naming" section.

Ensure also that we don't call the error path without calling
reply_with_error, which is a side-effect of the above change.

(cherry picked from commit 8abd0a83b3)
(cherry picked from commit adcdc44004)
2013-10-17 13:22:16 +01:00
..
2013-02-14 16:13:29 +00:00
2013-02-14 16:13:29 +00:00
2011-11-08 14:43:07 +00:00
2013-02-14 16:13:29 +00:00
2013-02-14 16:13:29 +00:00
2013-02-14 16:13:29 +00:00
2013-02-14 16:13:29 +00:00
2011-11-08 14:43:07 +00:00
2013-02-14 16:13:29 +00:00
2013-08-24 11:39:37 +01:00
2012-10-17 11:12:07 +01:00
2013-02-14 16:13:29 +00:00
2011-11-08 14:43:07 +00:00
2012-03-13 08:23:56 +00:00
2013-02-14 16:13:29 +00:00
2011-11-08 14:43:07 +00:00
2011-11-08 14:43:07 +00:00
2012-07-30 15:16:45 +01:00
2013-02-14 16:13:29 +00:00