xfs: remove unused delta tracking code in xfs_bmapi
This code was introduced four years ago in commit
3e57ecf640
without any review and has
been unused since. Remove it just as the rest of the code introduced
in that commit to reduce that stack usage and complexity in this central
piece of code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
This commit is contained in:

کامیت شده توسط
Alex Elder

والد
cd8b0bb3c4
کامیت
b4e9181e77
@@ -385,7 +385,7 @@ xfs_qm_dqalloc(
|
||||
XFS_BMAPI_METADATA | XFS_BMAPI_WRITE,
|
||||
&firstblock,
|
||||
XFS_QM_DQALLOC_SPACE_RES(mp),
|
||||
&map, &nmaps, &flist, NULL))) {
|
||||
&map, &nmaps, &flist))) {
|
||||
goto error0;
|
||||
}
|
||||
ASSERT(map.br_blockcount == XFS_DQUOT_CLUSTER_SIZE_FSB);
|
||||
@@ -501,7 +501,7 @@ xfs_qm_dqtobp(
|
||||
error = xfs_bmapi(NULL, quotip, dqp->q_fileoffset,
|
||||
XFS_DQUOT_CLUSTER_SIZE_FSB,
|
||||
XFS_BMAPI_METADATA,
|
||||
NULL, 0, &map, &nmaps, NULL, NULL);
|
||||
NULL, 0, &map, &nmaps, NULL);
|
||||
|
||||
xfs_iunlock(quotip, XFS_ILOCK_SHARED);
|
||||
if (error)
|
||||
|
@@ -1490,7 +1490,7 @@ xfs_qm_dqiterate(
|
||||
maxlblkcnt - lblkno,
|
||||
XFS_BMAPI_METADATA,
|
||||
NULL,
|
||||
0, map, &nmaps, NULL, NULL);
|
||||
0, map, &nmaps, NULL);
|
||||
xfs_iunlock(qip, XFS_ILOCK_SHARED);
|
||||
if (error)
|
||||
break;
|
||||
|
مرجع در شماره جدید
Block a user