diff options
author | Jiffin Tony Thottan <jthottan@redhat.com> | 2015-09-07 16:46:48 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2015-09-09 05:16:39 -0700 |
commit | b41579d839a8b6a1447dbb76c85aefdd44cedafe (patch) | |
tree | 929038a574e6ba61e320ff278e2bb340ba5df414 /tests | |
parent | 143f0f98c50725ccb853ab29215e306b95d95cc0 (diff) |
uss : handle `buf` variable properly in svs_glfs_readdir()
The svs_glfs_readdir() is a generic function which is called from
svs_readdir() and svs_readdirp(). But in svs_readdir 'buf' variable
is passed as NULL, then glfs_read_readdir() will fail. This patch
will fix the same.
It is backport of http://review.gluster.org/12117
Upstream Reference:
> Change-Id: Id02e4e17e30c85de117db5ddd9f97b578622dff9
> BUG: 1260611
> Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
> cherry-picked as 7b6183c36ebfe020b724c95b018a8cd535e1ecdd
Change-Id: Iee08d5c29cad0376ca9d378c8f17b0820eebc88a
BUG: 1260859
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
Reviewed-on: http://review.gluster.org/12122
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions