[PATCH 07/88] btrfs: Init io_lock after cloning btrfs device struct

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 1cba0cdf5e4dbcd9e5fa5b54d7a028e55e2ca057 upstream. __btrfs_close_devices() clones btrfs device structs with memcpy(). Some of the fields in the clone are

[PATCH 07/88] btrfs: Init io_lock after cloning btrfs device struct

2013-03-14 Thread Luis Henriques
3.5.7.8 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner t...@linutronix.de commit 1cba0cdf5e4dbcd9e5fa5b54d7a028e55e2ca057 upstream. __btrfs_close_devices() clones btrfs device structs with memcpy(). Some of the fields in the