commit | d0c9c153b4bd6963c8fcccbc0caa12e8fa8d971d | [log] [tgz] |
---|---|---|
author | Ondrej Mosnacek <omosnace@redhat.com> | Fri Feb 22 15:57:13 2019 +0100 |
committer | Paul Moore <paul@paul-moore.com> | Wed Mar 20 21:47:36 2019 -0400 |
tree | efb7a76003b4cd0708bc62de789a503072bb5e86 | |
parent | 05895219627c416e3ba78de84b83c6937387786b [diff] |
kernfs: do not alloc iattrs in kernfs_xattr_get This is a read-only operation, so we can simply return -ENODATA if kn->iattr is NULL. Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Acked-by: Casey Schaufler <casey@schaufler-ca.com> [PM: minor merge fixes] Signed-off-by: Paul Moore <paul@paul-moore.com>