Minor bug fix about fs-metadata.sh

Current codes in fs-metadata.sh exist two problems:

* when using "-d" option to specify the test disk, test disk will be
mounted in $K_CWD/../hwpoison but not in $K_CWD.

* test disk free space calculation is wrong
  "local free_space=$( df . -m  | awk '{ print $3}' | tail -1)"
  the variable "free_space" points to "Used", but not *free space*.

comments are rewritten by Gong.

Signed-off-by: Yilong Ren <yilongx.ren@intel.com>
Signed-off-by: Chen, Gong <gong.chen@linux.intel.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
1 file changed