summaryrefslogtreecommitdiff
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-09-25 10:01:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-07 08:39:35 -0700
commit1c4fc5e51d50f5da0b84bed2204046529b19db8a (patch)
tree627060fad5cb820f289d10e5a1a7ccb7d4db7565 /fs/ubifs/commit.c
parent5006010c7ae4c0b0db7e6f0cdc29e3d8f22b2365 (diff)
remoteproc: fix a potential NULL-dereference on cleanup
commit 7168d914a782086e217214c57ddfc7cc4b738c0c upstream. We only need to allocate mapping if there is an IOMMU domain. Otherwise, when the mappings are released, the assumption that an IOMMU domain is there will crash and burn. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> [ohad: revise commit log] Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions