|
@@ -1031,7 +1031,7 @@ EXPORT_SYMBOL_GPL(dax_truncate_page);
|
|
|
|
|
|
#ifdef CONFIG_FS_IOMAP
|
|
|
static loff_t
|
|
|
-iomap_dax_actor(struct inode *inode, loff_t pos, loff_t length, void *data,
|
|
|
+dax_iomap_actor(struct inode *inode, loff_t pos, loff_t length, void *data,
|
|
|
struct iomap *iomap)
|
|
|
{
|
|
|
struct iov_iter *iter = data;
|
|
@@ -1088,7 +1088,7 @@ iomap_dax_actor(struct inode *inode, loff_t pos, loff_t length, void *data,
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * iomap_dax_rw - Perform I/O to a DAX file
|
|
|
+ * dax_iomap_rw - Perform I/O to a DAX file
|
|
|
* @iocb: The control block for this I/O
|
|
|
* @iter: The addresses to do I/O from or to
|
|
|
* @ops: iomap ops passed from the file system
|
|
@@ -1098,7 +1098,7 @@ iomap_dax_actor(struct inode *inode, loff_t pos, loff_t length, void *data,
|
|
|
* and evicting any page cache pages in the region under I/O.
|
|
|
*/
|
|
|
ssize_t
|
|
|
-iomap_dax_rw(struct kiocb *iocb, struct iov_iter *iter,
|
|
|
+dax_iomap_rw(struct kiocb *iocb, struct iov_iter *iter,
|
|
|
struct iomap_ops *ops)
|
|
|
{
|
|
|
struct address_space *mapping = iocb->ki_filp->f_mapping;
|
|
@@ -1128,7 +1128,7 @@ iomap_dax_rw(struct kiocb *iocb, struct iov_iter *iter,
|
|
|
|
|
|
while (iov_iter_count(iter)) {
|
|
|
ret = iomap_apply(inode, pos, iov_iter_count(iter), flags, ops,
|
|
|
- iter, iomap_dax_actor);
|
|
|
+ iter, dax_iomap_actor);
|
|
|
if (ret <= 0)
|
|
|
break;
|
|
|
pos += ret;
|
|
@@ -1138,10 +1138,10 @@ iomap_dax_rw(struct kiocb *iocb, struct iov_iter *iter,
|
|
|
iocb->ki_pos += done;
|
|
|
return done ? done : ret;
|
|
|
}
|
|
|
-EXPORT_SYMBOL_GPL(iomap_dax_rw);
|
|
|
+EXPORT_SYMBOL_GPL(dax_iomap_rw);
|
|
|
|
|
|
/**
|
|
|
- * iomap_dax_fault - handle a page fault on a DAX file
|
|
|
+ * dax_iomap_fault - handle a page fault on a DAX file
|
|
|
* @vma: The virtual memory area where the fault occurred
|
|
|
* @vmf: The description of the fault
|
|
|
* @ops: iomap ops passed from the file system
|
|
@@ -1150,7 +1150,7 @@ EXPORT_SYMBOL_GPL(iomap_dax_rw);
|
|
|
* or mkwrite handler for DAX files. Assumes the caller has done all the
|
|
|
* necessary locking for the page fault to proceed successfully.
|
|
|
*/
|
|
|
-int iomap_dax_fault(struct vm_area_struct *vma, struct vm_fault *vmf,
|
|
|
+int dax_iomap_fault(struct vm_area_struct *vma, struct vm_fault *vmf,
|
|
|
struct iomap_ops *ops)
|
|
|
{
|
|
|
struct address_space *mapping = vma->vm_file->f_mapping;
|
|
@@ -1252,5 +1252,5 @@ int iomap_dax_fault(struct vm_area_struct *vma, struct vm_fault *vmf,
|
|
|
return VM_FAULT_SIGBUS | major;
|
|
|
return VM_FAULT_NOPAGE | major;
|
|
|
}
|
|
|
-EXPORT_SYMBOL_GPL(iomap_dax_fault);
|
|
|
+EXPORT_SYMBOL_GPL(dax_iomap_fault);
|
|
|
#endif /* CONFIG_FS_IOMAP */
|