diff options
author | Joe Thornber <ejt@redhat.com> | 2015-01-28 12:07:46 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-02-05 22:36:06 -0800 |
commit | bc8eeafab3b7e4f79ea422d50753160a005f4e15 (patch) | |
tree | d36d9170b7769a988aaa2e8be28d4f7d84a9fef4 /drivers/md/dm-snap.c | |
parent | e046f3ddf3568776755e165baffb8067125511dc (diff) |
dm cache: fix missing ERR_PTR returns and handling
commit 766a78882ddf79b162243649d7dfdbac1fb6fb88 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/dm-snap.c')
0 files changed, 0 insertions, 0 deletions