ocfs2: Fix setting of OCFS2_LOCK_BLOCKED during bast
authorWengang Wang <wen.gang.wang@oracle.com>
Thu, 21 Jan 2010 18:50:02 +0000 (10:50 -0800)
committerJoel Becker <joel.becker@oracle.com>
Wed, 3 Feb 2010 07:50:55 +0000 (23:50 -0800)
commit0b94a909eb2e2f6990d05fd486a0cb4902ef1ae7
tree197c4da141781f52f72fe4f28e0e82e9432500b1
parent34e6c59af06cbca07b1490ec0015ea2d303470d3
ocfs2: Fix setting of OCFS2_LOCK_BLOCKED during bast

During bast, set the OCFS2_LOCK_BLOCKED flag only if the lock needs to
downconverted.

Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com>
Acked-by: Sunil Mushran <sunil.mushran@oracle.com>
Acked-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dlmglue.c