diff options
| -rw-r--r-- | libglusterfs/src/call-stub.c | 4 | ||||
| -rw-r--r-- | xlators/protocol/client/src/client-protocol.c | 1 | 
2 files changed, 3 insertions, 2 deletions
diff --git a/libglusterfs/src/call-stub.c b/libglusterfs/src/call-stub.c index c7da94eb57f..e35a0f85ea0 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; diff --git a/xlators/protocol/client/src/client-protocol.c b/xlators/protocol/client/src/client-protocol.c index ea540c6dcb0..a798ea9f773 100644 --- a/xlators/protocol/client/src/client-protocol.c +++ b/xlators/protocol/client/src/client-protocol.c @@ -6472,6 +6472,7 @@ struct xlator_fops fops = {  	.removexattr = client_removexattr,  	.opendir     = client_opendir,  	.readdir     = client_readdir, +	.readdirp    = client_readdirp,  	.fsyncdir    = client_fsyncdir,  	.access      = client_access,  	.ftruncate   = client_ftruncate,  | 
