]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/xfs/xfs_iomap.c
xfs: don't set bmapi total block req where minleft is
[linux.git] / fs / xfs / xfs_iomap.c
index bf0c7756ac90403b76c0c780d59a782a91c068d0..e8fb500e1880deebe6940d546b2da8b468714ed6 100644 (file)
@@ -285,8 +285,8 @@ xfs_iomap_write_direct(
         * caller gave to us.
         */
        nimaps = 1;
-       error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb,
-                               bmapi_flags, resblks, imap, &nimaps);
+       error = xfs_bmapi_write(tp, ip, offset_fsb, count_fsb, bmapi_flags, 0,
+                               imap, &nimaps);
        if (error)
                goto out_res_cancel;