提交 0cac8e1b 编写于 作者: S Souptick Joarder 提交者: Martin K. Petersen

scsi: sg: Change return type to vm_fault_t

Use new return type vm_fault_t for fault handler in struct
vm_operations_struct.
Signed-off-by: NSouptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: NMatthew Wilcox <mawilcox@microsoft.com>
Acked-by: NDouglas Gilbert <dgilbert@interlog.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 3109e5ae
...@@ -1192,7 +1192,7 @@ sg_fasync(int fd, struct file *filp, int mode) ...@@ -1192,7 +1192,7 @@ sg_fasync(int fd, struct file *filp, int mode)
return fasync_helper(fd, filp, mode, &sfp->async_qp); return fasync_helper(fd, filp, mode, &sfp->async_qp);
} }
static int static vm_fault_t
sg_vma_fault(struct vm_fault *vmf) sg_vma_fault(struct vm_fault *vmf)
{ {
struct vm_area_struct *vma = vmf->vma; struct vm_area_struct *vma = vmf->vma;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册