Re: [PATCH] f2fs: mutex can't be used by down_write_nest_lock()

From: Jaegeuk Kim
Date: Wed Mar 02 2016 - 13:23:10 EST


On Tue, Mar 01, 2016 at 04:59:39PM +0800, Chao Yu wrote:
> Hi Yang,
>
> > -----Original Message-----
> > From: Yang Shi [mailto:yang.shi@xxxxxxxxxx]
> > Sent: Saturday, February 27, 2016 8:25 AM
> > To: jaegeuk@xxxxxxxxxx; cm224.lee@xxxxxxxxxxx; chao2.yu@xxxxxxxxxxx; tglx@xxxxxxxxxxxxx;
> > rostedt@xxxxxxxxxxx; bigeasy@xxxxxxxxxxxxx
> > Cc: linux-kernel@xxxxxxxxxxxxxxx; linux-f2fs-devel@xxxxxxxxxxxxxxxxxxxxx;
> > linux-fsdevel@xxxxxxxxxxxxxxx; linux-rt-users@xxxxxxxxxxxxxxx;
> > linaro-kernel@xxxxxxxxxxxxxxxx; yang.shi@xxxxxxxxxx
> > Subject: [PATCH] f2fs: mutex can't be used by down_write_nest_lock()
> >
> > fsf2_lock_all() calls down_write_nest_lock() to acquire a rw_sem and check

Fixed, and merged. :)

>
> Nitpick, f2fs_lock_all().
>
> Anyway, this patch looks good to me.
>
> Reviewed-by: Chao Yu <chao2.yu@xxxxxxxxxxx>