Home
last modified time | relevance | path

Searched hist:"14 fbd4aa" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ext4/
H A Dmove_extent.c14fbd4aa Mon Aug 29 14:45:11 CDT 2016 Eric Whitney <enwlinux@gmail.com> ext4: enforce online defrag restriction for encrypted files

Online defragging of encrypted files is not currently implemented.
However, the move extent ioctl can still return successfully when
called. For example, this occurs when xfstest ext4/020 is run on an
encrypted file system, resulting in a corrupted test file and a
corresponding test failure.

Until the proper functionality is implemented, fail the move extent
ioctl if either the original or donor file is encrypted.

Cc: stable@vger.kernel.org
Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
14fbd4aa Mon Aug 29 14:45:11 CDT 2016 Eric Whitney <enwlinux@gmail.com> ext4: enforce online defrag restriction for encrypted files

Online defragging of encrypted files is not currently implemented.
However, the move extent ioctl can still return successfully when
called. For example, this occurs when xfstest ext4/020 is run on an
encrypted file system, resulting in a corrupted test file and a
corresponding test failure.

Until the proper functionality is implemented, fail the move extent
ioctl if either the original or donor file is encrypted.

Cc: stable@vger.kernel.org
Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>