summaryrefslogtreecommitdiffstats
path: root/xlators/mount
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2009-12-06 21:18:53 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-12-06 22:16:58 -0800
commit4fdfc9fdcce340209d35e62f585c5897ca2a1104 (patch)
treee9bd82af20c21f15a66403a59d18cecc0f841835 /xlators/mount
parente026edec58aa234ef0c923eb6fed50dc227b7f8a (diff)
fix typo in 76d6f3fbe
Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 336 (Use lock owner field from fuse in locks) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=336
Diffstat (limited to 'xlators/mount')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index ffef81b69f1..aaf8c99cc25 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -1943,7 +1943,7 @@ fuse_write (xlator_t *this, fuse_in_header_t *finh, void *msg)
/* See comment by similar code in fuse_settatr */
priv = this->private;
- if (priv->proto_minor >= 9 && fwi->write_flags & FUSE_READ_LOCKOWNER)
+ if (priv->proto_minor >= 9 && fwi->write_flags & FUSE_WRITE_LOCKOWNER)
state->lk_owner = fwi->lock_owner;
gf_log ("glusterfs-fuse", GF_LOG_TRACE,