From: Alex Elder Date: Mon, 4 Feb 2013 16:13:11 +0000 (-0600) Subject: xfs: memory barrier before wake_up_bit() X-Git-Tag: v3.9-rc1~134^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=311f08acde635e4e5ccea9b9d8c856cc2e0ced95;p=pandora-kernel.git xfs: memory barrier before wake_up_bit() In xfs_ifunlock() there is a call to wake_up_bit() after clearing the flush lock on the xfs inode. This is not guaranteed to be safe, as noted in the comments above wake_up_bit() beginning with: In order for this to function properly, as it uses waitqueue_active() internally, some kind of memory barrier must be done prior to calling this. Signed-off-by: Alex Elder Reviewed-by: Dave Chinner Signed-off-by: Ben Myers --- Reading git-diff-tree failed