diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2010-08-17 05:06:58 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-17 11:18:07 -0700 |
commit | ed180da84f153b47373e109f445f6775f950cb69 (patch) | |
tree | 4f3083c0da5c77879581cee87450307b3d5ae87c /xlators/cluster/afr/src/afr.h | |
parent | 20cdb9ab09b96e92a2ded9999078b8462dffd8c1 (diff) |
cluster/afr: Return correct flock structures correctly in lk fops
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1042 (Use correct flock structures in lk fops)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1042
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
-rw-r--r-- | xlators/cluster/afr/src/afr.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h index 416cda5eb..ea7b3ba89 100644 --- a/xlators/cluster/afr/src/afr.h +++ b/xlators/cluster/afr/src/afr.h @@ -280,7 +280,8 @@ typedef struct _afr_local { struct { int32_t cmd; - struct flock flock; + struct flock user_flock; + struct flock ret_flock; unsigned char *locked_nodes; } lk; |