diff options
| author | Ondrej Mosnacek <[email protected]> | 2019-02-22 14:57:13 +0000 |
|---|---|---|
| committer | Paul Moore <[email protected]> | 2019-03-21 01:47:36 +0000 |
| commit | d0c9c153b4bd6963c8fcccbc0caa12e8fa8d971d (patch) | |
| tree | efb7a76003b4cd0708bc62de789a503072bb5e86 /fs/kernfs/kernfs-internal.h | |
| parent | kernfs: clean up struct kernfs_iattrs (diff) | |
| download | kernel-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
