diff options
author | Christoph Hellwig <hch@infradead.org> | 2010-06-23 10:11:15 +0200 |
---|---|---|
committer | Alex Elder <aelder@sgi.com> | 2010-07-26 20:16:39 +0200 |
commit | cd8b0bb3c49d0691e9e7b4cf19e21ca63b92c053 (patch) | |
tree | 2cefaf57f221ba8c8939ff31884f82bad4f3894a /fs/xfs/xfs_inode.c | |
parent | xfs: remove the unused XFS_TRANS_NOSLEEP/XFS_TRANS_WAIT flags (diff) | |
download | linux-cd8b0bb3c49d0691e9e7b4cf19e21ca63b92c053.tar.xz linux-cd8b0bb3c49d0691e9e7b4cf19e21ca63b92c053.zip |
xfs: remove unused XFS_BMAPI_ flags
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index d22b580162cc..1e6ae68f91af 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -1585,8 +1585,7 @@ xfs_itruncate_finish( xfs_bmap_init(&free_list, &first_block); error = xfs_bunmapi(ntp, ip, first_unmap_block, unmap_len, - xfs_bmapi_aflag(fork) | - (sync ? 0 : XFS_BMAPI_ASYNC), + xfs_bmapi_aflag(fork), XFS_ITRUNC_MAX_EXTENTS, &first_block, &free_list, NULL, &done); |