summaryrefslogtreecommitdiff
path: root/fs/hostfs
diff options
context:
space:
mode:
authorSri Krishna chowdary <schowdary@nvidia.com>2013-08-02 18:38:34 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:41:45 -0700
commit0589a9d84451224e665398a668fa54a004c0393d (patch)
treef91766bc850c9b18bc4b7aa1dbcffdb0e8bf8721 /fs/hostfs
parent4e13d190b1264c897b38bfd74cfbe67ace9b7f16 (diff)
drivers: misc: therm_est: Correct shutdown path
1. Do not wait for work completion therm_est_work_func calls orderly_poweroff which waits for therm_est_shutdown to return. But since it waits for work function's completion, a dead lock occurs during shutdown. Avoiding the same by not waiting for the work function's return. 2. Also, free memory in therm_est_work_func If we were to check est for shutdown completion, since it is freed already in shutdown callback, it may cause memory violation and hence result in crash. Bug 1332127 Change-Id: I2807178f6b447d07d6ef1a1a9dcd8e4a543eab62 Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/257561 Reviewed-on: http://git-master/r/263833 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Diffstat (limited to 'fs/hostfs')
0 files changed, 0 insertions, 0 deletions