On Tue, Jun 12, 2018 at 7:19 AM, Zhouyang Jia wrote:
> When kmem_cache_create fails, the lack of error-handling code may
> cause unexpected results.
>
> This patch adds error-handling code after calling kmem_cache_create.
>
> Signed-off-by: Zhouyang Jia
> ---
> fs/notify/fanotify/fanotify_user.c
When kmem_cache_create fails, the lack of error-handling code may
cause unexpected results.
This patch adds error-handling code after calling kmem_cache_create.
Signed-off-by: Zhouyang Jia
---
fs/notify/fanotify/fanotify_user.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/fs/notify/
2 matches
Mail list logo