commit | 578620f451f836389424833f1454eeeb2ffc9e9f | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Dec 10 09:56:01 2016 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Dec 10 09:56:01 2016 -0500 |
tree | ef437c0575055652c7069b2874c655c569b1e572 | |
parent | 7e6e1ef48fc02f3ac5d0edecbb0c6087cd758d58 [diff] |
ext4: return -ENOMEM instead of success 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