diff options
author | Raghavendra G <raghavendra@gluster.com> | 2013-06-20 14:04:10 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-07-10 19:44:25 -0700 |
commit | 02c0b6f0fcd6e9c678b170a8150d2b79942724ef (patch) | |
tree | 4ca2903e62db3f15aa36df55c229b77c464385b2 /cli | |
parent | 72aef87eeddc59428af67f2e6a666839b0ddd09c (diff) |
performance/io-cache: check for non-null gfid before calling inode_path
A new non-linked inode is added to lru list. Hence it might be possible
that gfid might be NULL when inode_dump is called. To pass asserts in
inode_path, we've to check for non-null gfid before invoking that
procedure.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Change-Id: Iff14efc6d6e2faa33b9f7a81e0a66f6a947b77ed
BUG: 976189
Reviewed-on: http://review.gluster.org/5241
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions