diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2012-02-01 22:35:55 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-02-02 19:38:09 -0800 |
commit | 698c0750e5b93fb9aa842a1d70def9ecfa6da41c (patch) | |
tree | 35dcd2156eef1b846979ad4f433022736a31e16c /glusterfsd | |
parent | 52c13660eec1dd38f71e7119b319209f8cfd84e8 (diff) |
performanc/stat-prefetch: check if loc->gfid is present before checking loc->name
After gfid based backend changes loc will either contain the gfid of the inode
or it will contain the parent gfid and the name of the entry. So before unwinding
when loc->name is not there we have to check if loc->gfid is present or not.
If loc->gfid is null and loc->name is also NULL, then unwind with the error.
Change-Id: If88b9462bde09a80e79f27899c995605697ce453
BUG: 785675
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Reviewed-on: http://review.gluster.com/2710
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amar@gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'glusterfsd')
0 files changed, 0 insertions, 0 deletions