aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorRussell King <[email protected]>2013-12-12 23:59:08 +0000
committerDan Williams <[email protected]>2013-12-12 22:48:53 -0800
commit0be8253fa2b4385e6246387db1d6067366e987ba (patch)
treee798be82ec569d306f4eae19a4c87544b30fb3b8 /fs/jbd/commit.c
parentd16695a75019ac4baad7a117dc86d1d292e09115 (diff)
dmaengine: mv_xor: fix oops when channels fail to initialise
When a channel fails to initialise, we error out and clean up any previously unregistered channels by walking the entire xordev->channels array. Unfortunately, there are paths which end up storing an error pointer in this array, which we then try and dereference in the cleanup code, which causes an oops. Fix this by avoiding writing invalid pointers to this array in the first place. Tested-by: Aaro Koskinen <[email protected]> Signed-off-by: Russell King <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions