Whamcloud - gitweb
LU-6952 mount: Mount options parsing problem 06/15906/26
authorHongchao Zhang <hongchao.zhang@intel.com>
Thu, 13 Apr 2017 10:51:23 +0000 (18:51 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 16 May 2017 05:45:01 +0000 (05:45 +0000)
commitb27652cb440f2bea59db254e955403484c6c1d3a
tree19f0c15bf94d875ab884c22e811f67bf66f67bff
parentb76a5b14f558eb3b5eba41dbd0c440fe69e25fe4
LU-6952 mount: Mount options parsing problem

The code which parse the mount option expect that the default
mount options come first and then the user given options. But
actually the default options are appended after the user given
option. Because of this user given options are cleared.
Following code fix this bug.

Added a conf-sanity test 104 to verify this fix.

Seagate-bug-id: MRP-2193
Signed-off-by: Pratik Shinde <pratik.shinde@seagate.com>
Signed-off-by: Rahul Deshmukh <rahul.deshmukh@seagate.com>
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Change-Id: I1a22e5d559e01d8bcba0ceebba5544e92d39bb19
Reviewed-on: https://review.whamcloud.com/15906
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Grégoire Pichon <gregoire.pichon@bull.net>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/cfg/local.sh
lustre/tests/conf-sanity.sh
lustre/tests/test-framework.sh
lustre/utils/mount_lustre.c