md/raid10: remove unnecessary smp_mb() from end_sync_write
authorNeilBrown <neilb@suse.de>
Tue, 13 Mar 2012 00:21:20 +0000 (11:21 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 13 Mar 2012 00:21:20 +0000 (11:21 +1100)
commit547414d19fd72376ff2ecc42aac8d7a051f03d26
treed46f4726e9bc397a182b9c36665a941e70692281
parent1e3fa9bd5061778fb5cf4648e4e8321e8cbbb95b
md/raid10: remove unnecessary smp_mb() from end_sync_write

Recent commit 4ca40c2ce099e4f1ce3 (md/raid10: Allow replacement device ...)
added an smp_mb in end_sync_write.
This was to close a possible race with raid10_remove_disk.
However there is no such race as it is never attempted to remove a
disk while resync (or recovery) is happening.
so the smp_mb is just noise.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid10.c