[PATCH 3.13.y-ckt 44/86] mtd: blkdevs: fix potential deadlock + lockdep warnings

2015-12-02 Thread Kamal Mostafa
3.13.11-ckt31 -stable review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit f3c63795e90f0c6238306883b6c72f14d5355721 upstream. Commit 073db4a51ee4 ("mtd: fix: avoid race condition when accessing mtd->usecount") fixed a race condition

[PATCH 3.13.y-ckt 44/86] mtd: blkdevs: fix potential deadlock + lockdep warnings

2015-12-02 Thread Kamal Mostafa
3.13.11-ckt31 -stable review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit f3c63795e90f0c6238306883b6c72f14d5355721 upstream. Commit 073db4a51ee4 ("mtd: fix: avoid race condition when accessing