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?
- Re: Potential races around ->truncate() Anonymous
- Re: Potential races around ->truncate() Anonymous
- Re: Potential races around ->truncate() Anonymous
- Re: Potential races around ->truncate() Anonymous
