diff options
author | Jeff Darcy <jdarcy@redhat.com> | 2014-01-15 00:44:48 +0000 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2014-01-22 16:10:37 +0000 |
commit | 007182f1aad9d14e8d5bc7771d500b35026f0afa (patch) | |
tree | 7d59e8456343017fe1c59248ac433f0d49bbb274 /xlators/features/locks/src/inodelk.c | |
parent | 3920b73526e2e2a4bf3187c5d9d68bb140f85d7f (diff) |
Fix write-queuing logic.
The write path for followers would call STACK_WIND without incrementing
ictx->active first. Therefore, when we got to nsr_writev_complete, we'd
decrement from zero (overflow). That write would succeed, but then the
next would see ictx->active was set and queue instead of executing.
Change-Id: I05714165d68b91abfc7f274ef9f011204dbe496f
Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/features/locks/src/inodelk.c')
0 files changed, 0 insertions, 0 deletions