Skip to content
Commit a149bb9a authored by Sanidhya Kashyap's avatar Sanidhya Kashyap Committed by Ilya Dryomov
Browse files

ceph: kstrdup() memory handling



Currently, there is no check for the kstrdup() for r_path2,
r_path1 and snapdir_name as various locations as there is a
possibility of failure during memory pressure. Therefore,
returning ENOMEM where the checks have been missed.

Signed-off-by: default avatarSanidhya Kashyap <sanidhya.gatech@gmail.com>
Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
parent c1d00b2d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment