summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/src
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-09-22 10:03:17 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-22 08:55:44 -0700
commit5c4ac19e88f5d7954770aceed930ee193c4138b5 (patch)
tree6b1df65cfb5540603aefebbf6fe338c499026d14 /xlators/mount/fuse/src
parent435603caeb651dc1050c85281e3838df9d37ce64 (diff)
fuse-resolve: don't resolve fd to new graph for now
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1674 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1674
Diffstat (limited to 'xlators/mount/fuse/src')
-rw-r--r--xlators/mount/fuse/src/fuse-resolve.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/xlators/mount/fuse/src/fuse-resolve.c b/xlators/mount/fuse/src/fuse-resolve.c
index dd248f3d9bc..602cc075d45 100644
--- a/xlators/mount/fuse/src/fuse-resolve.c
+++ b/xlators/mount/fuse/src/fuse-resolve.c
@@ -741,8 +741,12 @@ fuse_resolve_and_resume (fuse_state_t *state, fuse_resume_fn_t fn)
/* If the resolve is for 'fd' and its open with 'write' flag
set, don't switch to new graph yet */
- if (state->fd && ((state->fd->flags & O_RDWR) ||
+
+ /* TODO: fix it later */
+ /* if (state->fd && ((state->fd->flags & O_RDWR) ||
(state->fd->flags & O_WRONLY)))
+ */
+ if (state->fd)
goto resume;
if (state->loc.path) {