OSDN Git Service

dm: add missing memory barrier to dm_suspend
authorMilan Broz <mbroz@redhat.com>
Fri, 8 Feb 2008 02:09:49 +0000 (02:09 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 8 Feb 2008 02:09:49 +0000 (02:09 +0000)
commit7e5c1e830b2310359a4cfbbf89895dde4abd996a
tree143d5ff1998b115689347f0346a25b622a888739
parentdf922075f2a55b1ae71a6fe589c1cc1b91381f4f
dm: add missing memory barrier to dm_suspend

Add memory barrier to fix atomic_read of pending value.

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c