xfs: rename flist/free_list to dfops
Mechanical change of flist/free_list to dfops, since they're now deferred ops, not just a freeing list. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:

committed by
Dave Chinner

parent
310a75a3c6
commit
2c3234d1ef
@@ -260,7 +260,7 @@ xfs_dir_createname(
|
||||
struct xfs_name *name,
|
||||
xfs_ino_t inum, /* new entry inode number */
|
||||
xfs_fsblock_t *first, /* bmap's firstblock */
|
||||
struct xfs_defer_ops *flist, /* bmap's freeblock list */
|
||||
struct xfs_defer_ops *dfops, /* bmap's freeblock list */
|
||||
xfs_extlen_t total) /* bmap's total block count */
|
||||
{
|
||||
struct xfs_da_args *args;
|
||||
@@ -287,7 +287,7 @@ xfs_dir_createname(
|
||||
args->inumber = inum;
|
||||
args->dp = dp;
|
||||
args->firstblock = first;
|
||||
args->flist = flist;
|
||||
args->dfops = dfops;
|
||||
args->total = total;
|
||||
args->whichfork = XFS_DATA_FORK;
|
||||
args->trans = tp;
|
||||
@@ -437,7 +437,7 @@ xfs_dir_removename(
|
||||
struct xfs_name *name,
|
||||
xfs_ino_t ino,
|
||||
xfs_fsblock_t *first, /* bmap's firstblock */
|
||||
struct xfs_defer_ops *flist, /* bmap's freeblock list */
|
||||
struct xfs_defer_ops *dfops, /* bmap's freeblock list */
|
||||
xfs_extlen_t total) /* bmap's total block count */
|
||||
{
|
||||
struct xfs_da_args *args;
|
||||
@@ -459,7 +459,7 @@ xfs_dir_removename(
|
||||
args->inumber = ino;
|
||||
args->dp = dp;
|
||||
args->firstblock = first;
|
||||
args->flist = flist;
|
||||
args->dfops = dfops;
|
||||
args->total = total;
|
||||
args->whichfork = XFS_DATA_FORK;
|
||||
args->trans = tp;
|
||||
@@ -499,7 +499,7 @@ xfs_dir_replace(
|
||||
struct xfs_name *name, /* name of entry to replace */
|
||||
xfs_ino_t inum, /* new inode number */
|
||||
xfs_fsblock_t *first, /* bmap's firstblock */
|
||||
struct xfs_defer_ops *flist, /* bmap's freeblock list */
|
||||
struct xfs_defer_ops *dfops, /* bmap's freeblock list */
|
||||
xfs_extlen_t total) /* bmap's total block count */
|
||||
{
|
||||
struct xfs_da_args *args;
|
||||
@@ -524,7 +524,7 @@ xfs_dir_replace(
|
||||
args->inumber = inum;
|
||||
args->dp = dp;
|
||||
args->firstblock = first;
|
||||
args->flist = flist;
|
||||
args->dfops = dfops;
|
||||
args->total = total;
|
||||
args->whichfork = XFS_DATA_FORK;
|
||||
args->trans = tp;
|
||||
@@ -681,7 +681,7 @@ xfs_dir2_shrink_inode(
|
||||
|
||||
/* Unmap the fsblock(s). */
|
||||
error = xfs_bunmapi(tp, dp, da, args->geo->fsbcount, 0, 0,
|
||||
args->firstblock, args->flist, &done);
|
||||
args->firstblock, args->dfops, &done);
|
||||
if (error) {
|
||||
/*
|
||||
* ENOSPC actually can happen if we're in a removename with no
|
||||
|
Reference in New Issue
Block a user