On Tue, 22 Jun 1999, Alexander Viro wrote:
>
>       knfsd calls ->truncate() without holding semaphore on inode.
> Normally I would simply add obvious down()/up() there (and it is the
> right thing for 2.2 anyway), but considering the stuff around
> ->write()...
>       Linus, do you plan to remove the semaphore holding for ->truncate()?
> Then knfsd does the right thing and vmtruncate()/foofs_truncate()/do_truncate() 
> need fixing. Comments?

I'll remove the semaphore around them in the 2.3.x series, but for 2.2.x
the semaphore is definitely the right thing to do..

                Linus

Reply via email to