Whamcloud - gitweb
LU-6491 llog: fix wrong return value for too long fsname 68/14568/5
authorWang Shilong <wshilong@ddn.com>
Fri, 6 Feb 2015 17:06:54 +0000 (01:06 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 28 May 2015 22:27:10 +0000 (22:27 +0000)
If users passed a fsname longer than 9 bytes, caller
will handle it as ENOMEM which output following results:

error: conf_param: Cannot allocate memory

which is really unfriendly for common users.

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: I51d0cf28a88d828cea4f8be9977ed274b822ea01
Reviewed-on: http://review.whamcloud.com/14568
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>

No differences found