From: Greg Price Date: Sat, 30 Nov 2013 01:09:37 +0000 (-0500) Subject: random: forget lock in lockless accounting X-Git-Tag: v3.15-rc1~88^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a58aa4edc6d2e779894b1fa95a2f4de157ff3b3b;p=pandora-kernel.git random: forget lock in lockless accounting The only mutable data accessed here is ->entropy_count, but since 10b3a32d2 ("random: fix accounting race condition") we use cmpxchg to protect our accesses to ->entropy_count here. Drop the use of the lock. Cc: Jiri Kosina Signed-off-by: Greg Price Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed