Re: generic_file_write change in 2.4.0-ac8

Chris Mason (mason@suse.com)
Fri, 12 Jan 2001 16:52:05 -0500


On Friday, January 12, 2001 04:30:44 PM -0500 Alexander Viro
<viro@math.psu.edu> wrote:

>
>
> On Fri, 12 Jan 2001, Chris Mason wrote:
>
>>
>> Hi guys,
>>
>> This code for generic_file_write calls vmtruncate without i_sem held. Is
>> that intentional? It should cause problems for reiserfs at least...
>
> Erm... generic_file_write() grabs i_sem upon entry and drops it on exit.
> This call of vmtruncate() is deep inside the protected area.
>

Yup, I'm trying to track down a different problem, and saw what I wanted to
instead of what was really there. Sigh.

-chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/