bcachefs: Simplify bch2_xattr_emit() implementation
Use helper functions to make code more readable. Similar to commit a5488f29 ("fs: simplify ->listxattr() implementation") Signed-off-by: Youling Tang <tangyouling@kylinos.cn> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Showing
Please register or sign in to comment