Whamcloud - gitweb
LU-4462 mdt: don't apply mdt_object_fid() to ERR_PTRs 88/8788/3
authorJohn L. Hammond <john.hammond@intel.com>
Thu, 9 Jan 2014 19:09:49 +0000 (13:09 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 26 Mar 2014 00:14:46 +0000 (00:14 +0000)
commit588a29ba81c6c59652e24831c177348f87ad489b
tree379f829eca46e8da8371e17b7c7bc72fdbf765a2
parentf1685b42bb059af99c31fd5e5b8c68a41361a1d0
LU-4462 mdt: don't apply mdt_object_fid() to ERR_PTRs

In mdt_reconstruct_open(), mdt_reconstruct_create(), and
mdt_reconstruct_setattr() print the FID from the request rather than
applying mdt_object_fid() to a known ERR_PTR.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ifb9365dbef1492d8fb5c7ff27d00f5155b0e7525
Reviewed-on: http://review.whamcloud.com/8788
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_open.c
lustre/mdt/mdt_recovery.c