函数源码 |
Source File:mm\filemap.c |
Create Date:2022-07-27 15:25:43 |
首页 | Copyright©Brick |
2715 2716 2717 2718 2719 2720 2721 2722 2723 | /* * This is for filesystems which do not implement ->writepage. */ int generic_file_readonly_mmap( struct file *file, struct vm_area_struct *vma) { if ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_MAYWRITE)) return -EINVAL; return generic_file_mmap(file, vma); } |