]> git.baikalelectronics.ru Git - kernel.git/commit
md: do_release_stripe(): No need to call md_wakeup_thread() twice
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 29 Jan 2015 17:38:29 +0000 (12:38 -0500)
committerNeilBrown <neilb@suse.de>
Tue, 3 Feb 2015 21:35:51 +0000 (08:35 +1100)
commit5ee2004c6090c2a829d67fb93d5395b924d9e360
tree455464bc236c272976dc7c054efec21b5f941148
parent2b484ffdba0ba7324b6fe1e4fb3f5b04f0e1a648
md: do_release_stripe(): No need to call md_wakeup_thread() twice

cb5601e4bf092664820f84146bf4c5b624316934 introduced a call to
md_wakeup_thread() when adding to the delayed_list. However the md
thread is woken up unconditionally just below.

Remove the unnecessary wakeup call.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid5.c