From: Marco Stornelli <marco.stornelli@gmail.com>
To: Ashish Sangwan <ashishsangwan2@gmail.com>
Cc: viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org,
Ashish Sangwan <a.sangwan@samsung.com>,
Namjae Jeon <namjae.jeon@samsung.com>
Subject: Re: [PATCH] vfs: no need to check about IS_IMMUTABLE in do_fallocate
Date: Sat, 27 Apr 2013 08:56:19 +0200 [thread overview]
Message-ID: <517B7693.4080300@gmail.com> (raw)
In-Reply-To: <1367037739-2017-1-git-send-email-ashish.sangwan2@gmail.com>
Il 27/04/2013 06:42, Ashish Sangwan ha scritto:
> From: Ashish Sangwan <a.sangwan@samsung.com>
>
> 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@samsung.com>
> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
See commit 1ca551c6caae7b52178555cdedea6ca26444be46.
Regards,
Marco
next prev parent reply other threads:[~2013-04-27 7:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-27 4:42 [PATCH] vfs: no need to check about IS_IMMUTABLE in do_fallocate Ashish Sangwan
2013-04-27 6:56 ` Marco Stornelli [this message]
2013-04-27 10:24 ` Ashish Sangwan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=517B7693.4080300@gmail.com \
--to=marco.stornelli@gmail.com \
--cc=a.sangwan@samsung.com \
--cc=ashishsangwan2@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=namjae.jeon@samsung.com \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.