commit | aaefed207875a0f0c46c4a50dcd0aca0d56b9062 | [log] [tgz] |
---|---|---|
author | Anand Jain <anand.jain@oracle.com> | Wed Oct 28 21:14:45 2020 +0800 |
committer | David Sterba <dsterba@suse.com> | Tue Dec 08 15:53:44 2020 +0100 |
tree | 3f6e648d49ffb30d6a4d275653c18113c28e10fe | |
parent | 88090ad36a64af1eb5b78d26b2ccd07eedae80b5 [diff] |
btrfs: add helper for string match ignoring leading/trailing whitespace Add a generic helper to match the string in a given buffer, and ignore the leading and trailing whitespace. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Anand Jain <anand.jain@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> [ rename variables, add comments ] Signed-off-by: David Sterba <dsterba@suse.com>