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: Souptick Joarder <jrdr.linux@gmail.com> Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com> Acked-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
3109e5ae03
commit
0cac8e1bba
|
@ -1192,7 +1192,7 @@ sg_fasync(int fd, struct file *filp, int mode)
|
|||
return fasync_helper(fd, filp, mode, &sfp->async_qp);
|
||||
}
|
||||
|
||||
static int
|
||||
static vm_fault_t
|
||||
sg_vma_fault(struct vm_fault *vmf)
|
||||
{
|
||||
struct vm_area_struct *vma = vmf->vma;
|
||||
|
|
Loading…
Reference in New Issue