diff --git a/fs/xfs/libxfs/xfs_attr.c b/fs/xfs/libxfs/xfs_attr.c index cd3a3f75c429..e0eaa274b70b 100644 --- a/fs/xfs/libxfs/xfs_attr.c +++ b/fs/xfs/libxfs/xfs_attr.c @@ -1297,6 +1297,7 @@ xfs_attr_node_removename( break; } +#if 0 error = xfs_attr_node_hasname(args, &state); if (error != -EEXIST) goto out; @@ -1341,9 +1342,13 @@ xfs_attr_node_removename( if (error) goto out; } +#else + error = xfs_attr_node_removename_setup(); +#endif rm_node_blks: +#if 0 if (args->rmtblkno > 0) { error = xfs_attr_rmtval_unmap(args); @@ -1361,6 +1366,11 @@ xfs_attr_node_removename( if (error) goto out; } +#else + args->dac.dela_state = XFS_DAS_RMTVAL_REMOVE; + error = xfs_attr_node_removename_rmt(); + /* -EAGAIN */ +#endif /* * Remove the name and update the hashvals in the tree. @@ -1370,6 +1380,7 @@ xfs_attr_node_removename( retval = xfs_attr3_leaf_remove(blk->bp, args); xfs_da3_fixhashpath(state, &state->path); +#if 0 /* * Check to see if the tree needs to be collapsed. */ @@ -1413,6 +1424,12 @@ xfs_attr_node_removename( xfs_trans_brelse(args->trans, bp); } error = 0; +#else +rm_shrink: + args->dac.dela_state = XFS_DAS_RM_SHRINK; + error = xfs_attr_node_removename_shrink(); + /* -EAGAIN */ +#endif out: if (state)