Home
last modified time | relevance | path

Searched hist:"996 fc447" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ext4/
H A Dialloc.c996fc447 Sun Dec 10 22:44:11 CST 2017 Theodore Ts'o <tytso@mit.edu> 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
996fc447 Sun Dec 10 22:44:11 CST 2017 Theodore Ts'o <tytso@mit.edu> 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