aboutsummaryrefslogtreecommitdiff
path: root/fs/mbcache2.c
diff options
context:
space:
mode:
authorEric Whitney <enwlinux@gmail.com>2016-08-29 15:45:11 -0400
committerMister Oyster <oysterized@gmail.com>2017-12-31 02:09:48 +0100
commit4db756ba8da17cdda9a794b8a22bf569514390c7 (patch)
tree0d2bfa97d80c265066c96fd15dc5257277887570 /fs/mbcache2.c
parent87f4b4b9188ae09fd004ab5bcda8b8d9467c66d8 (diff)
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> Signed-off-by: Joe Maples <joe@frap129.org>
Diffstat (limited to 'fs/mbcache2.c')
0 files changed, 0 insertions, 0 deletions