lkml.org 
[lkml]   [2001]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.4.2-ac calls FS truncate w/o BKL


On Fri, 9 Mar 2001, Chris Mason wrote:

>
> The added vmtruncate calls in the ac series trigger calls to the FS
> truncate without the BKL held. Easy enough to fix on the reiserfs side,
> but if other filesystems care we might want to change vmtruncate to grab
> the lock before calling truncate (and update the Locking doc ;-)

Grr... Thanks for spotting - it's my fault. No, I don't think that
we should move BKL into filesystems right now. Should move it into
vmtruncate(), though...

Alan, could you put lock_kernel()/unlock_kernel() around the call of
->truncate() in vmtruncate()?
Thanks,
Al

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

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.052 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site