aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorYann Droneaud <[mailto:[email protected]]>2014-03-28 14:55:21 -0400
committerDavid S. Miller <[email protected]>2014-03-28 14:55:21 -0400
commitbfd2793c9559ae73ae021797f1d4b097c27f24be (patch)
treed352f4b3e46573880cd4efe67eb81235e7e22937 /fs/jbd/commit.c
parentf3c9ec05ab020b57108647cd30ce67bec156486f (diff)
RDMA/cxgb4: set error code on kmalloc() failure
If kmalloc() fails in c4iw_alloc_ucontext(), the function leaves but does not set an error code in ret variable: it will return 0 to the caller. This patch set ret to -ENOMEM in such case. Cc: Steve Wise <[email protected]> Cc: Steve Wise <[email protected]> Signed-off-by: Yann Droneaud <[email protected]> Acked-by: Steve Wise <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions