summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/src
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2009-11-13 13:13:09 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-16 00:41:20 -0800
commit3c6647577f81568b7ad5cbf7435ef98aaa79e00a (patch)
tree36be5f1ccaff23c07987ccf4544206c68c3cb424 /xlators/mount/fuse/src
parent5c9a8a92edbd011e4fd5ec8e5f77eb13d7d8b771 (diff)
mount/fuse: Assign the right inode to fuse_entry_out in fuse_create_cbk().
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 380 ([3.0.0 pre1] Crash in fuse_create_cbk) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=380
Diffstat (limited to 'xlators/mount/fuse/src')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index 94ed59a98f6..714ca995d5b 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -1710,9 +1710,9 @@ fuse_create_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
fd_ref (fd);
- feo.nodeid = inode_to_nodeid (inode);
+ feo.nodeid = inode_to_nodeid (linked_inode);
- feo.generation = inode->generation;
+ feo.generation = linked_inode->generation;
feo.entry_valid = calc_timeout_sec (priv->entry_timeout);
feo.entry_valid_nsec = calc_timeout_nsec (priv->entry_timeout);