On Sat, Apr 27, 2013 at 12:26 PM, Marco Stornelli <marco.stornelli@xxxxxxxxx> wrote: > Il 27/04/2013 06:42, Ashish Sangwan ha scritto: > >> From: Ashish Sangwan <a.sangwan@xxxxxxxxxxx> >> >> In do_fallocate, first there is check for FMODE_WRITE and after that >> there is second check for IS_IMMUTABLE. >> A file cannot be opened in write mode if the corresponding inode is >> immutable, hence the second check is not required. >> >> Signed-off-by: Ashish Sangwan <a.sangwan@xxxxxxxxxxx> >> Signed-off-by: Namjae Jeon <namjae.jeon@xxxxxxxxxxx> > > > See commit 1ca551c6caae7b52178555cdedea6ca26444be46. Got it, Thanks, Ashish > > Regards, > > Marco -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html