Whamcloud - gitweb
LU-7234 mgs: For handling dash in FSNAME 01/16901/3
authorRajesh T G <tg.rajesh@seagate.com>
Wed, 21 Oct 2015 09:42:26 +0000 (15:12 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 11 Jul 2016 23:53:20 +0000 (23:53 +0000)
commit52d4d48ae9e76fa5ff514b98f62049b446ef0b66
tree9c9de6e64e19f3f89ce4c9de82d9c63d7273b2ac
parent5e5dabac9eca8bc6ea516fb3ad53b8d74fe80a37
LU-7234 mgs: For handling dash in FSNAME

For FSNAME 'lustre-1, function mgs_llog_open() in mgs_handler.c has
been modified to call strrchr instead of strchr so that 'logname'
variable is updated with entire FSNAME including '-'.

Seagate-bug-id: MRP-2790
Signed-off-by: Sundarraj Illindra <sundarraj.illindra@seagate.com>
Change-Id: I07b2b874f4cf881d0aa2c07586a113fcce8bebfe
Reviewed-on: http://review.whamcloud.com/16901
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mgs/mgs_handler.c