[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140412140633.GD13837@thunk.org>
Date: Sat, 12 Apr 2014 10:06:33 -0400
From: Theodore Ts'o <tytso@....edu>
To: Lukas Czerner <lczerner@...hat.com>
Cc: linux-fsdevel@...r.kernel.org, linux-ext4@...r.kernel.org,
xfs@....sgi.com, ceph-devel@...r.kernel.org
Subject: Re: [PATCH 4/4] fs: Disallow all fallocate operation on active
swapfile
On Fri, Apr 11, 2014 at 08:57:45PM +0200, Lukas Czerner wrote:
> Currently some file system have IS_SWAPFILE check in their fallocate
> implementations and some does not. However we should really prevent any
> fallocate operation on swapfile so move the check to vfs and remove the
> redundant checks from the file systems fallocate implementations.
>
> Signed-off-by: Lukas Czerner <lczerner@...hat.com>
> ---
> fs/ceph/file.c | 3 ---
> fs/ext4/extents.c | 5 -----
> fs/ext4/inode.c | 5 -----
> fs/open.c | 7 +++++++
> 4 files changed, 7 insertions(+), 13 deletions(-)
Thanks, applied. Again, if anyone has an objections with my carrying
these patches in the ext4 tree and pushing them to Linus shortly after
-rc1, please let me know.
- Ted
--
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