From: Tejun Heo Date: Thu, 25 Jun 2015 22:01:38 +0000 (-0700) Subject: netconsole: make all dynamic netconsoles share a mutex X-Git-Tag: omap-for-v4.2/fixes-rc1^2~106^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=369e5a888179f31dcd7cc8e02d695e6481a66075;p=pandora-kernel.git netconsole: make all dynamic netconsoles share a mutex Currently, each dynamic netconsole_target uses its own separate mutex to synchronize the configuration operations. This patch replaces the per-netconsole_target mutexes with a single mutex - dynamic_netconsole_mutex. The reduced granularity doesn't hurt anything, the code is minutely simpler and this'd allow adding operations which should be synchronized across all dynamic netconsoles. Signed-off-by: Tejun Heo Cc: David Miller Cc: Kay Sievers Cc: Petr Mladek Cc: Tetsuo Handa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed