commit | 766a78882ddf79b162243649d7dfdbac1fb6fb88 | [log] [tgz] |
---|---|---|
author | Joe Thornber <ejt@redhat.com> | Wed Jan 28 12:07:46 2015 +0000 |
committer | Mike Snitzer <snitzer@redhat.com> | Wed Jan 28 09:59:20 2015 -0500 |
tree | e1c821d7bf052d865abafeaf0b119d56a7996ef9 | |
parent | 26bc420b59a38e4e6685a73345a0def461136dce [diff] |
dm cache: fix missing ERR_PTR returns and handling Commit 9b1cc9f251 ("dm cache: share cache-metadata object across inactive and active DM tables") mistakenly ignored the use of ERR_PTR returns. Restore missing IS_ERR checks and ERR_PTR returns where appropriate. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org