diff options
author | Ashish Pandey <aspandey@redhat.com> | 2020-05-05 18:17:49 +0530 |
---|---|---|
committer | Rinku Kothiya <rkothiya@redhat.com> | 2020-05-28 07:16:40 +0000 |
commit | 984a8dd8fa3e371fa1336730d6dc0041ceef877c (patch) | |
tree | 827db852da31126eee6e82b7c882d1701baf800b /xlators/mount/fuse/src/fuse-bridge.c | |
parent | 1c8af2522458e3763302ec408fe1832dff150efa (diff) |
cluster/ec: Return correct error code and log message
In case of readdir was send with an FD on which opendir
was failed, this FD will be useless and we return it with error.
For now, we are returning it with EINVAL without logging any
message in log file.
Return a correct error code and also log the message to improve thing to debug.
fixes: #1220
Change-Id: Iaf035254b9c5aa52fa43ace72d328be622b06169
(cherry picked from commit af70cb5eedd80207cd184e69f2a4fb252b72d070)
Diffstat (limited to 'xlators/mount/fuse/src/fuse-bridge.c')
0 files changed, 0 insertions, 0 deletions