commit | 01b4cd1b25c7eaa596febcb8104323ee6266a4b0 | [log] [tgz] |
---|---|---|
author | Harshad Shirwadkar <harshads@google.com> | Wed Nov 06 15:08:09 2019 +0530 |
committer | Harshad Shirwadkar <harshads@google.com> | Wed Mar 25 22:24:50 2020 +0000 |
tree | bedf3a432d0e34ef67b288ea6944af2160715ffd | |
parent | 270af87e61202c5796af2bd524daa69563a584b7 [diff] |
ext4: Add error handling for io_end_vec struct allocation This patch adds the error handling in case of any memory allocation failure for io_end_vec. This was missing in original patch series which enables dioread_nolock for blocksize < pagesize. Fixes: c8cc88163f40 ("ext4: Add support for blocksize < pagesize in dioread_nolock") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com> Link: https://lore.kernel.org/r/20191106093809.10673-1-riteshh@linux.ibm.com Signed-off-by: Theodore Ts'o <tytso@mit.edu> BUG=b:144741353 TEST=xfstests/smoke, no new failures introduced SOURCE=UPSTREAM(4d06bfb97ecb0df4f5b057a73db002e28c22c35c) Change-Id: I433b4e1b0f6843c782fe847b53be3c055ee62e54 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/lakitu-kernel/+/2096824 Reviewed-by: Roy Yang <royyang@google.com> Reviewed-by: Theodore Tso <tytso@google.com> Tested-by: Harshad Shirwadkar <harshads@google.com>