Whamcloud - gitweb
LU-8634 quota: fix return code of intent quota lock 51/22751/3
authorNiu Yawei <yawei.niu@intel.com>
Mon, 26 Sep 2016 03:19:11 +0000 (23:19 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 7 Nov 2016 15:45:53 +0000 (15:45 +0000)
commit11387730bac0ebb7940657ac6c463f4afd9b0fe8
tree293b2bcde30a66f67a9bdcc6461bd9564b2a01ad
parente68fae9c901ea3902a0e911df6a4f5ad3a3b52da
LU-8634 quota: fix return code of intent quota lock

Intent quota operation should return error code in lock_policy_res2
like other intent operations, otherwise, it'll be confused with the
error code returned by intent locking.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I99fd04f72eeb6d10380ebd30da928b5749e74443
Reviewed-on: http://review.whamcloud.com/22751
Reviewed-by: Fan Yong <fan.yong@intel.com>
Tested-by: Jenkins
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/quota/qmt_lock.c
lustre/quota/qsd_request.c