diff options
author | Theodore Ts'o | 2017-12-11 05:44:11 +0100 |
---|---|---|
committer | Theodore Ts'o | 2017-12-11 05:44:11 +0100 |
commit | 996fc4477a0ea28226b30d175f053fb6f9a4fa36 (patch) | |
tree | 7c3c421850f99a68331c6a5a0b292b38650cfb29 /drivers | |
parent | ext4: fix fdatasync(2) after fallocate(2) operation (diff) | |
download | kernel-qcow2-linux-996fc4477a0ea28226b30d175f053fb6f9a4fa36.tar.gz kernel-qcow2-linux-996fc4477a0ea28226b30d175f053fb6f9a4fa36.tar.xz kernel-qcow2-linux-996fc4477a0ea28226b30d175f053fb6f9a4fa36.zip |
ext4: add missing error check in __ext4_new_inode()
It's possible for ext4_get_acl() to return an ERR_PTR. So we need to
add a check for this case in __ext4_new_inode(). Otherwise on an
error we can end up oops the kernel.
This was getting triggered by xfstests generic/388, which is a test
which exercises the shutdown code path.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions