diff options
author | Theodore Ts'o <tytso@mit.edu> | 2017-12-11 07:44:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-20 12:10:22 +0300 |
commit | 0228af23dd6962c16682d85fdf1bab6bbf77a007 (patch) | |
tree | a04b5740856a0b1f1ee42bfc10fdfbdb798306ad /Documentation/isdn/CREDITS | |
parent | 4ff7da066d64e5083ef886203ba3a0623343c632 (diff) | |
download | linux-0228af23dd6962c16682d85fdf1bab6bbf77a007.tar.xz |
ext4: add missing error check in __ext4_new_inode()
commit 996fc4477a0ea28226b30d175f053fb6f9a4fa36 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/isdn/CREDITS')
0 files changed, 0 insertions, 0 deletions