linux/fs/ext4/inline.c
Dan Carpenter 0d39ae1e9e ext4: return -ENOMEM instead of success
[ Upstream commit 578620f451 ]

We should set the error code if kzalloc() fails.

Fixes: 67cf5b09a4 ("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>
2017-01-15 09:49:51 -05:00

2009 lines
49 KiB