From: Eric Sandeen Date: Tue, 10 Jan 2017 02:18:49 +0000 (-0600) Subject: xfs: several xattr functions can be void X-Git-Tag: v4.10.0-rc1~65 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=601410bbba15d491daebab31ed6f62aa8a6f0c4d;p=thirdparty%2Fxfsprogs-dev.git xfs: several xattr functions can be void Source kernel commit: f7a136aee3c1c3f7daf87197b3b3c361744a2812 There are a handful of xattr functions which now return nothing but zero. They can be made void, chased through calling functions, and error handling etc can be removed. Signed-off-by: Eric Sandeen Reviewed-by: Christoph Hellwig Signed-off-by: Dave Chinner Signed-off-by: Eric Sandeen --- diff --git a/libxfs/xfs_attr_leaf.h b/libxfs/xfs_attr_leaf.h index 8ef420a16..f7dda0c23 100644 --- a/libxfs/xfs_attr_leaf.h +++ b/libxfs/xfs_attr_leaf.h @@ -77,7 +77,7 @@ int xfs_attr3_leaf_add(struct xfs_buf *leaf_buffer, struct xfs_da_args *args); int xfs_attr3_leaf_remove(struct xfs_buf *leaf_buffer, struct xfs_da_args *args); -int xfs_attr3_leaf_list_int(struct xfs_buf *bp, +void xfs_attr3_leaf_list_int(struct xfs_buf *bp, struct xfs_attr_list_context *context); /*