diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-03-20 17:06:20 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-04-04 22:09:40 (GMT) |
commit | 18b4ed55ef83e77e8df2c45f1a99ffc6e5c07db6 (patch) | |
tree | e8441a32ac099c5b1a44507bdc0c499ece030c18 /net/decnet/dn_fib.c | |
parent | 14e27282bb54af3db98aa29fcd83895438a3bc98 (diff) | |
download | linux-fsl-qoriq-18b4ed55ef83e77e8df2c45f1a99ffc6e5c07db6.tar.xz |
net: make devnet_rename_seq a mutex
On RT write_seqcount_begin() disables preemption and device_rename()
allocates memory with GFP_KERNEL and grabs later the sysfs_mutex mutex.
Since I don't see a reason why this can't be a mutex, make it one. We
probably don't have that much reads at the same time in the hot path.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Diffstat (limited to 'net/decnet/dn_fib.c')
0 files changed, 0 insertions, 0 deletions