Whamcloud - gitweb
LU-3245 mdd: Fixed OBF of the FS root
authorHenri Doreau <henri.doreau@cea.fr>
Mon, 29 Apr 2013 13:07:42 +0000 (15:07 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 5 May 2013 04:58:40 +0000 (00:58 -0400)
commitc864582b5d4541c7830d628457e55cd859aee005
tree8306223312d398978dba9bf6c561c329cc3807dc
parent4ef375e4f93a771d9d560ad35b00f81187df9f7e
LU-3245 mdd: Fixed OBF of the FS root

Added a check to prevent fid access to the filesystem root directory
from returning EINVAL.

Added a sanity check accordingly.

Signed-off-by: Henri Doreau <henri.doreau@cea.fr>
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Iffb8bdb71377b878d165e9e48049c6b2ebd14859
Reviewed-on: http://review.whamcloud.com/6209
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Hudson
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/mdd/mdd_device.c
lustre/tests/sanity.sh