diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-05-07 05:05:03 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-05-08 18:12:16 +0530 |
commit | 124f02ed49615e8337d249a2c56e95a5298a856b (patch) | |
tree | d9abaa3d7ebbf7db1bda2eb1d98777d10e04b72a | |
parent | b3f7efe247ad114b6071ba6a2d6816f783d4aa15 (diff) |
Set op_errno properly in afr_flush.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
-rw-r--r-- | xlators/cluster/afr/src/afr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr.c b/xlators/cluster/afr/src/afr.c index 9021b8820ff..ab10df8fc3d 100644 --- a/xlators/cluster/afr/src/afr.c +++ b/xlators/cluster/afr/src/afr.c @@ -1044,6 +1044,7 @@ afr_flush (call_frame_t *frame, xlator_t *this, fd_t *fd) transaction_frame = copy_frame (frame); if (!transaction_frame) { + op_errno = ENOMEM; gf_log (this->name, GF_LOG_ERROR, "Out of memory."); goto out; |