Author: Marco Stornelli <marco.stornelli@xxxxxxxxx>
Date: Mon, 21 Feb 2011 09:26:32 +0100
All fs must check for the immutable flag in their fallocate callback. It's possible to have a race condition in this scenario: an application open a file in read/write and it does something, meanwhil
Why? None of the other places which check the IMMUTABLE flag do so under the inode mutex lock. Yes, it's true that we're not properly doing proper locking when updating i_flags from the ioctl (this i
Author: Marco Stornelli <marco.stornelli@xxxxxxxxx>
Date: Wed, 02 Mar 2011 09:19:54 +0100
Il 27/02/2011 23:49, Ted Ts'o ha scritto: I add to my previous response an other point: IMHO each fs should check for it because after the inclusion of punch hole patch, the fs can/cannot check for t