]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/xfs/libxfs/xfs_bmap.c
xfs: fix integer truncation in xfs_bmap_remap_alloc
[karo-tx-linux.git] / fs / xfs / libxfs / xfs_bmap.c
index 9bd104f32908962046af6d2dd4437a045fecdb36..2a426d127e050c9fe4dcff540bb995b5dba1047b 100644 (file)
@@ -3863,7 +3863,7 @@ xfs_bmap_remap_alloc(
 {
        struct xfs_trans        *tp = ap->tp;
        struct xfs_mount        *mp = tp->t_mountp;
-       xfs_agblock_t           bno;
+       xfs_fsblock_t           bno;
        struct xfs_alloc_arg    args;
        int                     error;