From: Linus Torvalds Date: Sat, 4 May 2013 17:47:57 +0000 (-0700) Subject: ipc: move sem_obtain_lock() rcu locking into the only caller X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~38^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=321310ced2d6cc0175c76fa512fa8a829ee35223;p=pandora-kernel.git ipc: move sem_obtain_lock() rcu locking into the only caller sem_obtain_lock() was another of those functions that returned with the RCU lock held for reading in the success case. Move the RCU locking to the caller (semtimedop()), making it more obvious. We already did RCU locking elsewhere in that function. Side note: why does semtimedop() re-do the semphore lookup after the sleep, rather than just getting a reference to the semaphore it already looked up originally? Acked-by: Davidlohr Bueso Cc: Rik van Riel Cc: Al Viro Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed