]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bcache: add mutex lock for bch_is_open
authorJianjian Huo <samuel.huo@gmail.com>
Sun, 13 Jul 2014 16:08:59 +0000 (09:08 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 4 Aug 2014 22:23:04 +0000 (15:23 -0700)
commit789d21dbd9d8889e62c79ec19585fcc97e42ef07
treeb0b8e1f363d871b67fa9197da6b671e5a485d790
parent5b25abade29616d42d60f9bd5e6a5ad07f7314e3
bcache: add mutex lock for bch_is_open

Since bch_is_open will iterate linked list bch_cache_sets and
uncached_devices, it needs bch_register_lock.

Signed-off-by: Jianjian Huo <samuel.huo@gmail.com>
drivers/md/bcache/super.c