Home
last modified time | relevance | path

Searched hist:a149bb9a281c5c2904cf6fcdf9ed386340032ce3 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/ceph/
H A Dxattr.cdiff a149bb9a281c5c2904cf6fcdf9ed386340032ce3 Sat Mar 21 11:54:58 CDT 2015 Sanidhya Kashyap <sanidhya.gatech@gmail.com> 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: Sanidhya Kashyap <sanidhya.gatech@gmail.com>
Signed-off-by: Yan, Zheng <zyan@redhat.com>
H A Ddir.cdiff a149bb9a281c5c2904cf6fcdf9ed386340032ce3 Sat Mar 21 11:54:58 CDT 2015 Sanidhya Kashyap <sanidhya.gatech@gmail.com> 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: Sanidhya Kashyap <sanidhya.gatech@gmail.com>
Signed-off-by: Yan, Zheng <zyan@redhat.com>
H A Dsuper.cdiff a149bb9a281c5c2904cf6fcdf9ed386340032ce3 Sat Mar 21 11:54:58 CDT 2015 Sanidhya Kashyap <sanidhya.gatech@gmail.com> 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: Sanidhya Kashyap <sanidhya.gatech@gmail.com>
Signed-off-by: Yan, Zheng <zyan@redhat.com>