summaryrefslogtreecommitdiff
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2012-03-29 01:30:14 +0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-03-29 01:30:14 +0400
commit7b5179ac14dbad945647ac9e76bbbf14ed9e0dbe (patch)
tree39213e51f3a19f3198929456f8ab4210a906674d /fs/file_table.c
parent9b78c1da60b3c62ccdd1509f0902ad19ceaf776b (diff)
downloadlinux-7b5179ac14dbad945647ac9e76bbbf14ed9e0dbe.tar.xz
PM / Hibernate: Disable usermode helpers right before freezing tasks
There is no reason to call usermodehelper_disable() before creating memory bitmaps in hibernate() and software_resume(), so call it right before freeze_processes(), in accordance with the other suspend and hibernation code. Consequently, call usermodehelper_enable() right after the thawing of tasks rather than after freeing the memory bitmaps. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions