ext4: test mounting filesystem with encrypted inode on orphan list
authorEric Biggers <ebiggers@google.com>
Thu, 23 Mar 2017 19:16:08 +0000 (12:16 -0700)
committerEryu Guan <eguan@redhat.com>
Sat, 25 Mar 2017 18:15:05 +0000 (02:15 +0800)
commit7400c10e503fed20fe2d9f8b03b2157eba4ff3b8
treea43d332f19d70058ba7a7d57fef52d890274faaa
parent7687a3293c96b9cdccf716545e059842d5a5f982
ext4: test mounting filesystem with encrypted inode on orphan list

Add an ext4-specific regression test for a bug which caused ext4 to
crash when mounting a filesystem which had an encrypted inode on its
orphan list.

This bug was present in kernels v4.1 and later.  It has been fixed
in v4.11-rc1, v4.10.4, v4.9.16, and v4.4.55.

Cc: Theodore Ts'o <tytso@mit.edu>
Cc: Michael Halcrow <mhalcrow@google.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/ext4/024 [new file with mode: 0755]
tests/ext4/024.out [new file with mode: 0644]
tests/ext4/group