Re: [Devel] [PATCH] fs/fuse kio: fix mapping dereference in a dead map

2018-12-21 Thread Kirill Tkhai
On 21.12.2018 15:34, Pavel Butsykin wrote: > MAP_ARGS() contains reference to struct pcs_map_entry::mapping, > which can be NULL if map is dead. > > #VSTOR-19267 > > Signed-off-by: Pavel Butsykin Reviewed-by: Kirill Tkhai > --- > fs/fuse/kio/pcs/pcs_map.c | 3 ++- > 1 file changed, 2

[Devel] [PATCH] fs/fuse kio: fix mapping dereference in a dead map

2018-12-21 Thread Pavel Butsykin
MAP_ARGS() contains reference to struct pcs_map_entry::mapping, which can be NULL if map is dead. #VSTOR-19267 Signed-off-by: Pavel Butsykin --- fs/fuse/kio/pcs/pcs_map.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/fuse/kio/pcs/pcs_map.c b/fs/fuse/kio/pcs/pcs_map.c