xfs: Rename __xfs_attr_rmtval_remove
authorAllison Henderson <allison.henderson@oracle.com>
Sun, 8 Aug 2021 15:27:14 +0000 (08:27 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 11 Aug 2021 16:12:45 +0000 (09:12 -0700)
Now that xfs_attr_rmtval_remove is gone, rename __xfs_attr_rmtval_remove
to xfs_attr_rmtval_remove

Signed-off-by: Allison Henderson <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Chandan Babu R <chandanrlinux@gmail.com>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/libxfs/xfs_attr.c
fs/xfs/libxfs/xfs_attr_remote.c
fs/xfs/libxfs/xfs_attr_remote.h

index dec538d336d70f9577b352d74718bc5e11a31be3..010d499b237c55a189138a3596efc6e0d41d16f0 100644 (file)
@@ -495,7 +495,7 @@ xfs_attr_set_iter(
                /* Set state in case xfs_attr_rmtval_remove returns -EAGAIN */
                dac->dela_state = XFS_DAS_RM_LBLK;
                if (args->rmtblkno) {
-                       error = __xfs_attr_rmtval_remove(dac);
+                       error = xfs_attr_rmtval_remove(dac);
                        if (error == -EAGAIN)
                                trace_xfs_attr_set_iter_return(
                                        dac->dela_state, args->dp);
@@ -609,7 +609,7 @@ xfs_attr_set_iter(
                /* Set state in case xfs_attr_rmtval_remove returns -EAGAIN */
                dac->dela_state = XFS_DAS_RM_NBLK;
                if (args->rmtblkno) {
-                       error = __xfs_attr_rmtval_remove(dac);
+                       error = xfs_attr_rmtval_remove(dac);
                        if (error == -EAGAIN)
                                trace_xfs_attr_set_iter_return(
                                        dac->dela_state, args->dp);
@@ -1442,7 +1442,7 @@ xfs_attr_remove_iter(
                         * May return -EAGAIN. Roll and repeat until all remote
                         * blocks are removed.
                         */
-                       error = __xfs_attr_rmtval_remove(dac);
+                       error = xfs_attr_rmtval_remove(dac);
                        if (error == -EAGAIN) {
                                trace_xfs_attr_remove_iter_return(
                                                dac->dela_state, args->dp);
index 70f880da563b991a7cd7b4e86317791a0a539072..16690439121ed0855ab7c44c710746ecd1d99f5e 100644 (file)
@@ -672,7 +672,7 @@ xfs_attr_rmtval_invalidate(
  * routine until it returns something other than -EAGAIN.
  */
 int
-__xfs_attr_rmtval_remove(
+xfs_attr_rmtval_remove(
        struct xfs_delattr_context      *dac)
 {
        struct xfs_da_args              *args = dac->da_args;
index 61b85b918db8c9679a94d13f1c7b2b2fd96938a0..d72eff30ca1833dd639e4695f9ffb01229a54bd2 100644 (file)
@@ -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,
                xfs_buf_flags_t incore_flags);
 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_rmtval_set_value(struct xfs_da_args *args);
 int xfs_attr_rmtval_set_blk(struct xfs_delattr_context *dac);