[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D69154F.8090000@gmail.com>
Date: Sat, 26 Feb 2011 15:59:27 +0100
From: Marco Stornelli <marco.stornelli@...il.com>
To: Linux Kernel <linux-kernel@...r.kernel.org>
CC: linux-ext4@...r.kernel.org, linux-btrfs@...r.kernel.org,
cluster-devel@...hat.com, xfs@....sgi.com,
Linux FS Devel <linux-fsdevel@...r.kernel.org>
Subject: Re: [PATCH] Check for immutable flag in fallocate path
Il 21/02/2011 09:26, Marco Stornelli ha scritto:
> From: Marco Stornelli <marco.stornelli@...il.com>
>
> 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, meanwhile root set the
> immutable flag on the file, the application at that point can call
> fallocate with success. Only Ocfs2 check for the immutable flag at the
> moment.
>
> Signed-off-by: Marco Stornelli <marco.stornelli@...il.com>
no comments?
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists