Tejun Heo
b68757341d
bdi: remove bdi->wb_lock locking around bdi->dev clearing in bdi_unregister()
...
The only places where NULL test on bdi->dev is used are
bdi_[un]register(). The functions can't be called in parallel anyway
and there's no point in protecting bdi->dev clearing with a lock.
Remove bdi->wb_lock grabbing around bdi->dev clearing and move it
after device_unregister() call so that bdi->dev doesn't have to be
cached in a local variable.
This patch shouldn't introduce any behavior difference.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
2014-09-08 10:00:38 -06:00
..
2014-09-08 10:00:38 -06:00
2014-01-23 16:36:50 -08:00
2013-11-13 12:09:09 +09:00
2014-01-23 16:36:50 -08:00
2014-08-06 18:01:16 -07:00
2014-06-04 16:54:11 -07:00
2014-06-04 16:54:08 -07:00
2014-04-07 16:36:15 -07:00
2013-03-03 22:46:22 -05:00
2013-11-06 12:40:26 +01:00
2014-08-11 11:44:11 -07:00
2014-06-06 16:08:17 -07:00
2014-06-04 16:54:07 -07:00
2014-08-06 18:01:20 -07:00
2014-08-06 18:01:22 -07:00
2014-08-08 15:57:17 -07:00
2014-08-14 10:56:15 -06:00
2014-08-06 18:01:21 -07:00
2014-08-06 18:01:19 -07:00
2014-08-06 18:01:16 -07:00
2014-08-07 14:40:11 -04:00
2014-08-06 18:01:23 -07:00
2014-06-06 16:08:18 -07:00
2014-06-06 16:08:17 -07:00
2014-07-16 15:10:39 +02:00
2014-04-03 16:21:01 -07:00
2014-08-06 18:01:18 -07:00
2014-08-06 18:01:23 -07:00
2014-06-06 16:08:17 -07:00
2014-08-08 15:57:18 -07:00
2014-08-06 18:01:21 -07:00
2014-08-06 18:01:19 -07:00
2014-08-08 15:57:27 -07:00
2014-07-10 11:38:23 -07:00
2014-06-06 16:08:17 -07:00
2014-08-08 15:57:17 -07:00
2014-04-03 16:21:00 -07:00
2014-08-06 18:01:20 -07:00
2014-01-27 21:02:39 -08:00
2014-08-08 15:57:31 -07:00
2014-02-21 08:50:17 +01:00
2014-08-06 18:01:22 -07:00
2013-10-09 14:47:45 +02:00
2014-04-07 16:35:50 -07:00
2014-05-11 17:55:48 +09:00
2014-07-03 09:21:53 -07:00
2014-06-06 16:08:17 -07:00
2014-08-08 15:57:27 -07:00
2014-08-06 18:01:21 -07:00
2014-08-06 18:01:21 -07:00
2014-04-03 16:21:02 -07:00
2014-06-14 19:30:48 -05:00
2013-09-11 15:57:48 -07:00
2014-08-06 18:01:21 -07:00
2013-10-30 14:27:03 -07:00
2014-06-19 11:00:27 -04:00
2013-12-18 19:04:51 -08:00
2014-05-06 17:32:49 -04:00
2014-08-06 18:01:15 -07:00
2014-08-08 15:57:17 -07:00
2014-08-11 11:44:11 -07:00
2014-08-06 18:01:15 -07:00
2014-08-08 15:57:17 -07:00
2014-08-06 18:01:15 -07:00
2014-06-04 16:53:59 -07:00
2014-08-06 18:01:21 -07:00
2014-01-21 16:19:47 -08:00
2014-04-07 16:35:54 -07:00
2014-08-08 15:57:31 -07:00
2014-08-08 15:57:18 -07:00
2014-08-08 15:57:17 -07:00
2014-08-08 15:57:17 -07:00
2014-08-08 15:57:17 -07:00
2014-06-04 16:53:57 -07:00
2014-08-06 18:01:19 -07:00
2014-02-03 13:24:01 -05:00
2014-08-08 15:57:18 -07:00
2014-08-06 18:01:20 -07:00
2014-04-03 16:21:01 -07:00
2014-08-06 18:01:23 -07:00
2014-08-06 18:01:23 -07:00
2014-08-06 18:01:23 -07:00
2014-08-08 15:57:18 -07:00