X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/89b3af67bb32e691275bf6fa803d1834b2284115..21362eb3e66fd2c787aee132bce100a44d71a99c:/bsd/vm/vnode_pager.c diff --git a/bsd/vm/vnode_pager.c b/bsd/vm/vnode_pager.c index 552c0afb0..f6969d1bc 100644 --- a/bsd/vm/vnode_pager.c +++ b/bsd/vm/vnode_pager.c @@ -88,32 +88,6 @@ vnode_pager_get_filesize(struct vnode *vp) return (vm_object_offset_t) ubc_getsize(vp); } -kern_return_t -vnode_pager_get_pathname( - struct vnode *vp, - char *pathname, - vm_size_t *length_p) -{ - int error, len; - - len = (int) *length_p; - error = vn_getpath(vp, pathname, &len); - if (error != 0) { - return KERN_FAILURE; - } - *length_p = (vm_size_t) len; - return KERN_SUCCESS; -} - -kern_return_t -vnode_pager_get_filename( - struct vnode *vp, - char **filename) -{ - *filename = vp->v_name; - return KERN_SUCCESS; -} - pager_return_t vnode_pageout(struct vnode *vp, upl_t upl,