aboutsummaryrefslogtreecommitdiffstats
path: root/fs/kernfs/kernfs-internal.h
diff options
context:
space:
mode:
authorOndrej Mosnacek <[email protected]>2019-02-22 14:57:13 +0000
committerPaul Moore <[email protected]>2019-03-21 01:47:36 +0000
commitd0c9c153b4bd6963c8fcccbc0caa12e8fa8d971d (patch)
treeefb7a76003b4cd0708bc62de789a503072bb5e86 /fs/kernfs/kernfs-internal.h
parentkernfs: clean up struct kernfs_iattrs (diff)
downloadkernel-d0c9c153b4bd6963c8fcccbc0caa12e8fa8d971d.tar.gz
kernel-d0c9c153b4bd6963c8fcccbc0caa12e8fa8d971d.zip
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 <[email protected]> Acked-by: Casey Schaufler <[email protected]> [PM: minor merge fixes] Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'fs/kernfs/kernfs-internal.h')
0 files changed, 0 insertions, 0 deletions