commit | 5d314a81eca29b01939930c1c596dfa44937e970 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jul 13 10:39:20 2017 +0300 |
committer | John Johansen <john.johansen@canonical.com> | Fri Sep 22 13:00:57 2017 -0700 |
tree | 82c7bde1491a5cf98155111da826e073ef276c0e | |
parent | 86aea56f14929ff1c05eca1776e9068e907429d5 [diff] |
apparmor: Fix an error code in aafs_create() We accidentally forgot to set the error code on this path. It means we return NULL instead of an error pointer. I looked through a bunch of callers and I don't think it really causes a big issue, but the documentation says we're supposed to return error pointers here. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Serge Hallyn <serge@hallyn.com> Signed-off-by: John Johansen <john.johansen@canonical.com>