Merge tag 'v5.18'
[sfrench/cifs-2.6.git] / fs / ntfs3 / file.c
index f8360f9bfaf0278b32c321cd51fdbb826c2f5408..3bae76930e68a012a00df9f35cc15cc3b35be1d6 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 #include <linux/backing-dev.h>
+#include <linux/blkdev.h>
 #include <linux/buffer_head.h>
 #include <linux/compat.h>
 #include <linux/falloc.h>
@@ -995,7 +996,7 @@ static ssize_t ntfs_compress_write(struct kiocb *iocb, struct iov_iter *from)
                frame_vbo = pos & ~(frame_size - 1);
                index = frame_vbo >> PAGE_SHIFT;
 
-               if (unlikely(iov_iter_fault_in_readable(from, bytes))) {
+               if (unlikely(fault_in_iov_iter_readable(from, bytes))) {
                        err = -EFAULT;
                        goto out;
                }