Whamcloud - gitweb
LU-4877 mdt: tolerate zero md_packed in mdt_fix_reply 16/10116/2
authorMikhail Pershin <mike.pershin@intel.com>
Sun, 27 Apr 2014 07:08:31 +0000 (11:08 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 13 May 2014 14:42:55 +0000 (14:42 +0000)
commitff8087913c579daac8ba620cbb3aa45277b7cd18
treeb29757b9a4dd068e3456db6605e488b23abbfe4f
parentd335e310d4bf490509998ddbb1824e38cff20998
LU-4877 mdt: tolerate zero md_packed in mdt_fix_reply

The assertion for md_packed value is not really needed there,
if it is zero then buffer is not packed in reply and is not
needed, it is enough just unmark big buffer usage.

Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Change-Id: I4db92ce2ef492069db4dbd4d07c0d69770130fad
Reviewed-on: http://review.whamcloud.com/10116
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_lib.c
lustre/mdt/mdt_reint.c