Apparmor: Use d_is_positive/negative() rather than testing dentry->d_inode