Whamcloud - gitweb
LU-7002 utils: SELinux context repeated in mount opts 19/18319/4
authorFrederic Saunier <frederic.saunier@atos.net>
Fri, 5 Feb 2016 10:11:36 +0000 (11:11 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 14 Mar 2016 02:41:52 +0000 (02:41 +0000)
commita40a4e630c515301497f409a491fd3eb6a715f01
tree0047227500754bc91827984b4f4a8367bd3b3f75
parent40e316910744429e2294bf353f85cb1061261d46
LU-7002 utils: SELinux context repeated in mount opts

SELinux context can only be specified once in mount options,
thus append_context_for_mount() should not apply once again
when called at mount time.

Signed-off-by: Frederic Saunier <frederic.saunier@atos.net>
Change-Id: I350b67ec42691b875aab085224185f2a7582d41d
Reviewed-on: http://review.whamcloud.com/18319
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Grégoire Pichon <gregoire.pichon@bull.net>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/mount_utils_ldiskfs.c