Skip to content
Commit fc5d81e6 authored by Akinobu Mita's avatar Akinobu Mita Committed by James Morris
Browse files

selinux: fix dentry_open() error check



The return value of dentry_open() shoud be checked by IS_ERR().

Cc: Stephen Smalley <sds@tycho.nsa.gov>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: default avatarAkinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 2ea58144
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