Whamcloud - gitweb
LU-5547 mdt: handle NULL parent in mdt_getattr_name_lock() 10/11610/2
authorJohn L. Hammond <john.hammond@intel.com>
Tue, 26 Aug 2014 22:11:22 +0000 (17:11 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 26 Sep 2014 23:09:13 +0000 (23:09 +0000)
commit8479c416031f93c5d99b3f9cd457d48af407abd1
tree7088a214e7cde80173c0765f71425baafe5ac4e3
parentb5485d307568af92e1a940fa4a7859e6db5b7a97
LU-5547 mdt: handle NULL parent in mdt_getattr_name_lock()

In mdt_getattr_name_lock() if the parent object (from mti_object) is
NULL then return -ENOENT rather than asserting.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I081cb54068bba7825e2a5593f293f48cb2eda874
Reviewed-on: http://review.whamcloud.com/11610
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_handler.c