fs : adding null pointer check in set_worker_desc
authorIshan Mittal <imittal@nvidia.com>
Wed, 11 Jun 2014 05:33:00 +0000 (10:33 +0530)
committerSimone Willett <swillett@nvidia.com>
Fri, 20 Jun 2014 17:53:39 +0000 (10:53 -0700)
commitd3871d9d77a20ac21451a294cd1edb48f0597e4c
treeb40f1829b35834b4f599fd3a28f9682d047da977
parent118596094bdcfa0935a0a40a23b6860a04614c49
fs : adding null pointer check in set_worker_desc

The Bug was due to the following control flow

remove disk
 bdi_destroy()
  bdi_unregister()
   bdi->dev = NULL (bdi_writeback_workfn)

Bug 200011038

Change-Id: I3710c5b3f2106c14807bd8a5eea8a030312c8d6c
Signed-off-by: Ishan Mittal <imittal@nvidia.com>
Reviewed-on: http://git-master/r/421995
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
fs/fs-writeback.c