Re: md related oops triggered in bdev_inode_switch_bdi

Sitsofe Wheeler
2011-09-11T07:01:30Z

On Fri, Sep 09, 2011 at 04:56:30PM +0800, Lin Ming wrote:
> On Thu, Sep 1, 2011 at 1:49 PM, NeilBrown <neilb@suse.de> wrote:
> > On Thu, 1 Sep 2011 11:30:56 +0800 Wu Fengguang <fengguang.wu@intel.com> wrote:
> >
> >> Hi Neil,
> >>
> >> > Subject: [PATCH] Avoid dereferencing a 'request_queue' after last close.
> >>
> >> Reviewed-by: Wu Fengguang <fengguang.wu@intel.com>
> >
> > Thanks.

> Just FYI,
> this patch also fixes below bug which can be reproduced by unplug the
> usb disk before umount.

Agreed - this fixes the oops I was seeing pulling out a USB key with a
mounted FAT32 filesystem (https://lkml.org/lkml/2011/9/5/339 ). Thanks
to Yang RuiRui and akpm for point me to this patch.

Tested-by: Sitsofe Wheeler <sitsofe@yahoo.com>

--
Sitsofe | http://sucs.org/~sits/