OSDN Git Service

vold: acquire wakelock on fstrim thread
authorYoung-ho Cha <ganadist@gmail.com>
Fri, 20 Jun 2014 10:48:36 +0000 (19:48 +0900)
committerJP Abgrall <jpa@google.com>
Thu, 26 Feb 2015 18:45:52 +0000 (18:45 +0000)
commite72cd592b372d658f43baadf95330562aff30322
tree1649d3b04f960635164d5fdf7b3f921e273dcedc
parentd55d8dac45dc60cb2cc9e599d3e89532db0cfc39
vold: acquire wakelock on fstrim thread

If fstrim thread creation or detachment is failed, wakelock can be leaked.
So move wakelock acquire to do_fstrim_filesystems function

Change-Id: I4da3164343af83fae3e5b01700f43d1752661276
Signed-off-by: Young-ho Cha <ganadist@gmail.com>
fstrim.c