summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/call-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/call-stub.c')
-rw-r--r--libglusterfs/src/call-stub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libglusterfs/src/call-stub.c b/libglusterfs/src/call-stub.c
index c7da94eb5..e35a0f85e 100644
--- a/libglusterfs/src/call-stub.c
+++ b/libglusterfs/src/call-stub.c
@@ -1848,7 +1848,7 @@ fop_readdirp_cbk_stub (call_frame_t *frame,
ERR_ABORT (stub_entry);
stub_entry->d_off = entry->d_off;
stub_entry->d_ino = entry->d_ino;
-
+ stub_entry->d_stat = entry->d_stat;
list_add_tail (&stub_entry->list,
&stub->args.readdirp_cbk.entries.list);
}
@@ -2237,7 +2237,7 @@ fop_setattr_cbk_stub (call_frame_t *frame,
if (frame == NULL)
goto out;
- stub = stub_new (frame, 1, GF_FOP_SETATTR);
+ stub = stub_new (frame, 0, GF_FOP_SETATTR);
if (stub == NULL)
goto out;