diff options
-rw-r--r-- | fs/dlm/lock.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/dlm/lock.c b/fs/dlm/lock.c index 17903b491298..031dbe3a15ca 100644 --- a/fs/dlm/lock.c +++ b/fs/dlm/lock.c | |||
@@ -733,10 +733,7 @@ static void lkb_add_ordered(struct list_head *new, struct list_head *head, | |||
733 | if (lkb->lkb_rqmode < mode) | 733 | if (lkb->lkb_rqmode < mode) |
734 | break; | 734 | break; |
735 | 735 | ||
736 | if (!lkb) | 736 | __list_add(new, lkb->lkb_statequeue.prev, &lkb->lkb_statequeue); |
737 | list_add_tail(new, head); | ||
738 | else | ||
739 | __list_add(new, lkb->lkb_statequeue.prev, &lkb->lkb_statequeue); | ||
740 | } | 737 | } |
741 | 738 | ||
742 | /* add/remove lkb to rsb's grant/convert/wait queue */ | 739 | /* add/remove lkb to rsb's grant/convert/wait queue */ |