diff options
author | shishir gowda <shishirng@gluster.com> | 2012-02-28 18:03:29 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-02-29 02:09:59 -0800 |
commit | 5ad1c2caed743fc10a0645055a825252dfbf77ba (patch) | |
tree | d8ed477083a1a8a64089a243e1ab452bde035d85 /xlators/protocol/client/src/client.h | |
parent | c2c82c360fda20533093c27c82ce0725cf40cab5 (diff) |
storage/posix: In lookup check for buf->gfid being NULL
There are few cases where create and lookup race.
Lookup ends up getting a valid struct iatt, but with no gfid set.
We need to check for gfid being 0, and handle it as an error.
Signed-off-by: shishir gowda <shishirng@gluster.com>
Change-Id: I36ae1978b325aff964cbc3b24730c1e993666267
BUG: 797167
Reviewed-on: http://review.gluster.com/2832
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amarts@redhat.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/protocol/client/src/client.h')
0 files changed, 0 insertions, 0 deletions