diff options
author | Daniel Xu <dxu@dxuuu.xyz> | 2020-03-12 13:03:15 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2020-03-16 15:53:47 -0400 |
commit | a46a22955bae16fc5a756af7188d3ccb25c3f797 (patch) | |
tree | c1a356cde80b186783225a8cb2d8f56f9474c1b3 /include/linux/kernfs.h | |
parent | fdc85222d58eb6e19ac11181024ac766b19dc470 (diff) | |
download | linux-stable-a46a22955bae16fc5a756af7188d3ccb25c3f797.tar.gz linux-stable-a46a22955bae16fc5a756af7188d3ccb25c3f797.tar.bz2 linux-stable-a46a22955bae16fc5a756af7188d3ccb25c3f797.zip |
kernfs: Add removed_size out param for simple_xattr_set
This helps set up size accounting in the next commit. Without this out
param, it's difficult to find out the removed xattr size without taking
a lock for longer and walking the xattr linked list twice.
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Acked-by: Chris Down <chris@chrisdown.name>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/kernfs.h')
0 files changed, 0 insertions, 0 deletions