Return-Path: Received: from bombadil.infradead.org ([198.137.202.133]:48758 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752054AbeDFMOU (ORCPT ); Fri, 6 Apr 2018 08:14:20 -0400 Date: Fri, 6 Apr 2018 14:14:11 +0200 From: Peter Zijlstra To: Tetsuo Handa Cc: Alexander Viro , Omar Sandoval , Dmitry Vyukov , syzbot , Jens Axboe , Ming Lei , Hannes Reinecke , shli@fb.com, LKML , syzkaller-bugs@googlegroups.com, Ingo Molnar , linux-fsdevel@vger.kernel.org, Nikanth Karthikesan Subject: Re: INFO: task hung in lo_ioctl Message-ID: <20180406121411.GJ4082@hirez.programming.kicks-ass.net> References: <94eb2c0810d04f5a46055ffc71aa@google.com> <6012a726-069a-13a5-9c8d-6a11730d8414@I-love.SAKURA.ne.jp> <468f7418-a02d-79cc-3d94-91bbe146567e@I-love.SAKURA.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <468f7418-a02d-79cc-3d94-91bbe146567e@I-love.SAKURA.ne.jp> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Fri, Apr 06, 2018 at 09:04:18PM +0900, Tetsuo Handa wrote: > + /* Temporary hack for handling lock imbalance. */ > + if (__mutex_owner(&lo->lo_ctl_mutex) == current) > + mutex_unlock(&lo->lo_ctl_mutex); ARGGH.. you didn't read the comment we put on that?