Re: [PATCH] vfs: no need to check about IS_IMMUTABLE in do_fallocate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux