Whamcloud - gitweb
tune2fs: prevent enabling encryption flag on encoding-aware fs
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>
Sat, 1 Dec 2018 00:39:08 +0000 (19:39 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 3 Dec 2018 05:00:49 +0000 (00:00 -0500)
commit8f25f1b51315b2f68b2c9bbaa6a3a28be26854d8
treef6712b43a34fd8f4c3b4c030fb271094446b2d34
parentef733f1a97ece99f61cce7aeb9297a322ca6c356
tune2fs: prevent enabling encryption flag on encoding-aware fs

The kernel will refuse to mount filesystems with the encryption and
encoding features enabled at the same time.  The encoding feature can
only be set at mke2fs time, so we can just prevent encryption from being
set at a later time by tune2fs.

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/tune2fs.c