diff options
author | Anand Avati <avati@dev.gluster.com> | 2009-10-09 08:00:23 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-09 06:37:26 -0700 |
commit | 73027dae835fc968dc443294fc8c109110168d37 (patch) | |
tree | eea7a895387b283f2e83d0f79953c53bc1974594 /xlators | |
parent | 7ef987661626ee2e9de033470bafb7c864e01fe1 (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')
-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 1ce67437576..08dc451e16e 100644 --- a/xlators/features/locks/src/common.c +++ b/xlators/features/locks/src/common.c @@ -426,6 +426,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]); } |