diff options
| author | Soumya Koduri <skoduri@redhat.com> | 2015-04-22 22:34:41 +0530 |
|---|---|---|
| committer | Vijay Bellur <vbellur@redhat.com> | 2015-05-07 04:21:38 -0700 |
| commit | add1ee3a479395feba36afd37d16b9a635669715 (patch) | |
| tree | 1c43517c3cffac59d0a3f438ed17e921976b2385 /api/src/glfs-resolve.c | |
| parent | 544004cb941efebc13d2e8c296d209965507adc8 (diff) | |
gfapi: Skip and delete the upcall entry if not found
We could run into situations where in gfapi received a upcall
notification for a file and the file may have got deleted by then.
Hence, incase of error while trying to create handle from gfid,
log it, delete the entry and return with CBK_NULL reason.
Change-Id: I191f10f44d6804be07734a6be63a3ca08f455f0e
BUG: 1218566
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Reviewed-on: http://review.gluster.org/10341
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/10565
Tested-by: NetBSD Build System
Diffstat (limited to 'api/src/glfs-resolve.c')
0 files changed, 0 insertions, 0 deletions
