summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2019-02-22 15:57:13 +0100
committerPaul Moore <paul@paul-moore.com>2019-03-20 21:47:36 -0400
commitd0c9c153b4bd6963c8fcccbc0caa12e8fa8d971d (patch)
treeefb7a76003b4cd0708bc62de789a503072bb5e86 /security
parent05895219627c416e3ba78de84b83c6937387786b (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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions