MRP-1507 quota: mds hang during testing of 2.4 client

A deadlock between chkquota and start transaction occurs
during sync transaction commit.

mdd_attr_set() should check quota before starting transaction.

Change-Id: Ib5740a81ccb759d6c3b49931066a289c8ae97d51
Signed-off-by: Andriy Skulysh <Andriy_Skulysh@xyratex.com>
Reviewed-on: http://morpheus.xyus.xyratex.com:8443/gerrit/1228
Tested-by: Jenkins
Tested-by: Elena Gryaznova <Elena_Gryaznova@xyratex.com>
Reviewed-by: Alexey Lyashkov <Alexey_Lyashkov@xyratex.com>
Reviewed-by: Andrew Perepechko <Andrew_Perepechko@xyratex.com>
Reviewed-by: Vitaly Fertman <Vitaly_Fertman@xyratex.com>