diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-12-10 17:56:01 +0300 |
---|---|---|
committer | Sasha Levin <alexander.levin@verizon.com> | 2017-01-15 17:49:51 +0300 |
commit | 0d39ae1e9eddfdc54204151d3a9aa4654a0cf532 (patch) | |
tree | 1ad4a846a435bcd67257025e57c4da081132345c /scripts | |
parent | 79762247b6a0ec1b6f45e3ae7213e7e9b400e05c (diff) | |
download | linux-0d39ae1e9eddfdc54204151d3a9aa4654a0cf532.tar.xz |
ext4: return -ENOMEM instead of success
[ Upstream commit 578620f451f836389424833f1454eeeb2ffc9e9f ]
We should set the error code if kzalloc() fails.
Fixes: 67cf5b09a46f ("ext4: add the basic function for inline data support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions