diff options
author | Eric Sandeen <sandeen@redhat.com> | 2016-12-05 12:32:14 +1100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-12-05 12:32:14 +1100 |
commit | f7a136aee3c1c3f7daf87197b3b3c361744a2812 (patch) | |
tree | 1f70a45137c8591b25b589f7f5f681adff59c341 /fs/xfs/libxfs | |
parent | c44a1f22626c153976289e1cd67bdcdfefc16e1f (diff) | |
download | linux-f7a136aee3c1c3f7daf87197b3b3c361744a2812.tar.bz2 |
xfs: several xattr functions can be void
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 <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/libxfs')
-rw-r--r-- | fs/xfs/libxfs/xfs_attr_leaf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_attr_leaf.h b/fs/xfs/libxfs/xfs_attr_leaf.h index 4f2aed04f827..91f51637f8af 100644 --- a/fs/xfs/libxfs/xfs_attr_leaf.h +++ b/fs/xfs/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); /* |