diff options
author | Shwetha Acharya <sacharya@redhat.com> | 2018-10-11 11:27:44 +0530 |
---|---|---|
committer | Shwetha Acharya <sacharya@redhat.com> | 2018-10-11 15:26:54 +0530 |
commit | 807ec72d740a4548c250cc660c89fc59d2f191d6 (patch) | |
tree | 538b4aa325b88bfe97b8b1d97dd92b64125bd307 /extras/Solaris | |
parent | 23e96fd93c021d4647b940a47df2250fe9159a3b (diff) |
performance/write-behind: NULL pointer passed to a nonnull parameter
Problem: wb_directory_inode->lock can be null.
Solution: added a condition, if(!wb_directory_inode->lock.spinlock)
to address the issue (checked one of the attributes of union lock
to ensure that union is not null).
Updates: bz#1622665
Change-Id: I0749ee16aa2c23f51d4b4c7b0979d494bcd4d90e
Signed-off-by: Shwetha Acharya <sacharya@redhat.com>
Diffstat (limited to 'extras/Solaris')
0 files changed, 0 insertions, 0 deletions