[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <545890F40200007800044A31@mail.emea.novell.com>
Date: Tue, 04 Nov 2014 07:40:20 +0000
From: "Jan Beulich" <JBeulich@...e.com>
To: "Dave Chinner" <david@...morbit.com>
Cc: <xfs@....sgi.com>, "Jan Kara" <jack@...e.cz>,
<linux-kernel@...r.kernel.org>
Subject: Re: your patch "mm: Remove false WARN_ON from
pagecache_isize_extended()"
>>> On 03.11.14 at 23:18, <david@...morbit.com> wrote:
> On Mon, Nov 03, 2014 at 04:41:13PM +0000, Jan Beulich wrote:
>> having run into that warning too, I looked into it a little, and now
>> having found that patch am pretty uncertain: Both truncate_setsize()
>> and pagecache_isize_extended() document that they want to be
>> called with i_mutex held, so removing the WARN_ON() alone seems
>> either incomplete or wrong. What I found to work without violating
>> this documented requirement is the patch below.
>
> Or, just perhaps, the comments are wrong....
Right - that's what I was suggesting with the option of the patch
being incomplete (rather than just removing the WARN_ON() it
should also remove the respective comments then).
Jan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists