diff options
author | Sanidhya Kashyap <sanidhya.gatech@gmail.com> | 2015-03-21 17:54:58 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2015-04-20 17:55:34 +0200 |
commit | a149bb9a281c5c2904cf6fcdf9ed386340032ce3 (patch) | |
tree | 644078c1ab0c063382210f3d0b43a239070b1364 /fs/ceph/debugfs.c | |
parent | ceph: properly release page upon error (diff) | |
download | linux-a149bb9a281c5c2904cf6fcdf9ed386340032ce3.tar.xz linux-a149bb9a281c5c2904cf6fcdf9ed386340032ce3.zip |
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>
Diffstat (limited to 'fs/ceph/debugfs.c')
0 files changed, 0 insertions, 0 deletions