diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-06-17 12:22:15 (GMT) |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2016-06-17 13:35:03 (GMT) |
commit | 1e875f5a95a28b5286165db9fa832b0773657ddb (patch) | |
tree | ce81c0e518c2256111b2f6cc8e2a5f50741d781a /tools | |
parent | 36e4ad0316c017d5b271378ed9a1c9a4b77fab5f (diff) | |
download | linux-1e875f5a95a28b5286165db9fa832b0773657ddb.tar.xz |
gfs2: Initialize iopen glock holder for new inodes
In gfs2_init_inode_once, initialize inode->i_iopen_gh.gh_gl to NULL:
otherwise, when gfs2_inode_lookup fails, the iopen glock holder can
remain unset and iget_failed can end up accessing random memory.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions