diff options
author | Theodore Ts'o <tytso@mit.edu> | 2010-06-02 22:04:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-13 13:20:18 -0700 |
commit | c60ca6232164fc6abea21bcf3f58172607f491e5 (patch) | |
tree | 4fcbb257c3ad052c40b10a19567ae8cf6c3a4017 /fs/ext4/super.c | |
parent | a234580f5c847eaa59e775469205734c5d94e846 (diff) |
ext4: Make sure the MOVE_EXT ioctl can't overwrite append-only files
commit 1f5a81e41f8b1a782c68d3843e9ec1bfaadf7d72 upstream.
Dan Roseberg has reported a problem with the MOVE_EXT ioctl. If the
donor file is an append-only file, we should not allow the operation
to proceed, lest we end up overwriting the contents of an append-only
file.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Dan Rosenberg <dan.j.rosenberg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/ext4/super.c')
0 files changed, 0 insertions, 0 deletions