diff options
author | Goldwyn Rodrigues <rgoldwyn@gmail.com> | 2009-08-20 20:43:19 +0200 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-08-21 03:42:34 +0200 |
commit | c795b33ba171e41563ab7e25105c0cd4edd81cd7 (patch) | |
tree | e845674493883656d44b825e5ff70256d5af6356 /fs/nfs/nfs4state.c | |
parent | ocfs2: Add missing lock name (diff) | |
download | linux-c795b33ba171e41563ab7e25105c0cd4edd81cd7.tar.xz linux-c795b33ba171e41563ab7e25105c0cd4edd81cd7.zip |
ocfs2/dlm: Wait on lockres instead of erroring cancel requests
In case a downconvert is queued, and a flock receives a signal,
BUG_ON(lockres->l_action != OCFS2_AST_INVALID) is triggered
because a lock cancel triggers a dlmunlock while an AST is
scheduled.
To avoid this, allow a LKM_CANCEL to pass through, and let it
wait on __dlm_wait_on_lockres().
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.de>
Acked-off-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions