commit | a46a22955bae16fc5a756af7188d3ccb25c3f797 | [log] [tgz] |
---|---|---|
author | Daniel Xu <dxu@dxuuu.xyz> | Thu Mar 12 13:03:15 2020 -0700 |
committer | Tejun Heo <tj@kernel.org> | Mon Mar 16 15:53:47 2020 -0400 |
tree | c1a356cde80b186783225a8cb2d8f56f9474c1b3 | |
parent | fdc85222d58eb6e19ac11181024ac766b19dc470 [diff] |
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>