diff options
author | Anand Avati <avati@dev.gluster.com> | 2009-10-09 08:00:22 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-09 06:37:30 -0700 |
commit | b0f456cdd55ebfa0498db75157b544ad88904d03 (patch) | |
tree | 7b6d59968e78c62cdd99f2cf4f97656c57386209 /xlators/features | |
parent | f4d6b3ba3d94fb4cd7e9f9f19aaf3b11a10213a7 (diff) |
Add INIT_LIST_HEAD which was left out in the previous commit
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 297 (Posix locks cannot handle a single unlock over multiple held locks)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=297
Diffstat (limited to 'xlators/features')
-rw-r--r-- | xlators/features/locks/src/common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/locks/src/common.c b/xlators/features/locks/src/common.c index dbda5f23fd6..5f115f6fa53 100644 --- a/xlators/features/locks/src/common.c +++ b/xlators/features/locks/src/common.c @@ -380,6 +380,7 @@ __insert_and_merge (pl_inode_t *pl_inode, posix_lock_t *lock, if (!v.locks[i]) continue; + INIT_LIST_HEAD (&v.locks[i]->list); __insert_and_merge (pl_inode, v.locks[i], dom); } |