diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-12-10 09:56:01 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-12-10 09:56:01 -0500 |
commit | 578620f451f836389424833f1454eeeb2ffc9e9f (patch) | |
tree | ef437c0575055652c7069b2874c655c569b1e572 /fs/dax.c | |
parent | 7e6e1ef48fc02f3ac5d0edecbb0c6087cd758d58 (diff) | |
download | lwn-578620f451f836389424833f1454eeeb2ffc9e9f.tar.gz lwn-578620f451f836389424833f1454eeeb2ffc9e9f.zip |
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
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions