Commit 5e68b4c7 authored by Allison Henderson's avatar Allison Henderson Committed by Darrick J. Wong

xfs: Rename __xfs_attr_rmtval_remove

Now that xfs_attr_rmtval_remove is gone, rename __xfs_attr_rmtval_remove
to xfs_attr_rmtval_remove
Signed-off-by: default avatarAllison Henderson <allison.henderson@oracle.com>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: default avatarChandan Babu R <chandanrlinux@gmail.com>
Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
parent df082631
...@@ -495,7 +495,7 @@ xfs_attr_set_iter( ...@@ -495,7 +495,7 @@ xfs_attr_set_iter(
/* Set state in case xfs_attr_rmtval_remove returns -EAGAIN */ /* Set state in case xfs_attr_rmtval_remove returns -EAGAIN */
dac->dela_state = XFS_DAS_RM_LBLK; dac->dela_state = XFS_DAS_RM_LBLK;
if (args->rmtblkno) { if (args->rmtblkno) {
error = __xfs_attr_rmtval_remove(dac); error = xfs_attr_rmtval_remove(dac);
if (error == -EAGAIN) if (error == -EAGAIN)
trace_xfs_attr_set_iter_return( trace_xfs_attr_set_iter_return(
dac->dela_state, args->dp); dac->dela_state, args->dp);
...@@ -609,7 +609,7 @@ xfs_attr_set_iter( ...@@ -609,7 +609,7 @@ xfs_attr_set_iter(
/* Set state in case xfs_attr_rmtval_remove returns -EAGAIN */ /* Set state in case xfs_attr_rmtval_remove returns -EAGAIN */
dac->dela_state = XFS_DAS_RM_NBLK; dac->dela_state = XFS_DAS_RM_NBLK;
if (args->rmtblkno) { if (args->rmtblkno) {
error = __xfs_attr_rmtval_remove(dac); error = xfs_attr_rmtval_remove(dac);
if (error == -EAGAIN) if (error == -EAGAIN)
trace_xfs_attr_set_iter_return( trace_xfs_attr_set_iter_return(
dac->dela_state, args->dp); dac->dela_state, args->dp);
...@@ -1442,7 +1442,7 @@ xfs_attr_remove_iter( ...@@ -1442,7 +1442,7 @@ xfs_attr_remove_iter(
* May return -EAGAIN. Roll and repeat until all remote * May return -EAGAIN. Roll and repeat until all remote
* blocks are removed. * blocks are removed.
*/ */
error = __xfs_attr_rmtval_remove(dac); error = xfs_attr_rmtval_remove(dac);
if (error == -EAGAIN) { if (error == -EAGAIN) {
trace_xfs_attr_remove_iter_return( trace_xfs_attr_remove_iter_return(
dac->dela_state, args->dp); dac->dela_state, args->dp);
......
...@@ -672,7 +672,7 @@ xfs_attr_rmtval_invalidate( ...@@ -672,7 +672,7 @@ xfs_attr_rmtval_invalidate(
* routine until it returns something other than -EAGAIN. * routine until it returns something other than -EAGAIN.
*/ */
int int
__xfs_attr_rmtval_remove( xfs_attr_rmtval_remove(
struct xfs_delattr_context *dac) struct xfs_delattr_context *dac)
{ {
struct xfs_da_args *args = dac->da_args; struct xfs_da_args *args = dac->da_args;
......
...@@ -12,7 +12,7 @@ int xfs_attr_rmtval_get(struct xfs_da_args *args); ...@@ -12,7 +12,7 @@ int xfs_attr_rmtval_get(struct xfs_da_args *args);
int xfs_attr_rmtval_stale(struct xfs_inode *ip, struct xfs_bmbt_irec *map, int xfs_attr_rmtval_stale(struct xfs_inode *ip, struct xfs_bmbt_irec *map,
xfs_buf_flags_t incore_flags); xfs_buf_flags_t incore_flags);
int xfs_attr_rmtval_invalidate(struct xfs_da_args *args); int xfs_attr_rmtval_invalidate(struct xfs_da_args *args);
int __xfs_attr_rmtval_remove(struct xfs_delattr_context *dac); int xfs_attr_rmtval_remove(struct xfs_delattr_context *dac);
int xfs_attr_rmt_find_hole(struct xfs_da_args *args); int xfs_attr_rmt_find_hole(struct xfs_da_args *args);
int xfs_attr_rmtval_set_value(struct xfs_da_args *args); int xfs_attr_rmtval_set_value(struct xfs_da_args *args);
int xfs_attr_rmtval_set_blk(struct xfs_delattr_context *dac); int xfs_attr_rmtval_set_blk(struct xfs_delattr_context *dac);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment