Skip to content
Commit 559c9ac3 authored by Chandra Seetharaman's avatar Chandra Seetharaman Committed by Mark Fasheh
Browse files

configfs: handle kzalloc() failure in check_perm()



check_perm() does not drop the reference to the module when kzalloc()
failure occurs.

Signed-Off-By: default avatarChandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: default avatarJoel Becker <joel.becker@oracle.com>
Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent e2057c5a
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