diff options
author | phk <phk@FreeBSD.org> | 2005-01-24 23:03:29 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-01-24 23:03:29 +0000 |
commit | d0599e9c318e534b59a9cfaeaec80f28142d8399 (patch) | |
tree | aefa9a383057cd3e802e6040cf21eb3baabeb4f4 /sys/nfsclient/nfs_vnops.c | |
parent | ad40d6a0263acb4b89e5378cfcd68d963411927e (diff) | |
download | FreeBSD-src-d0599e9c318e534b59a9cfaeaec80f28142d8399.zip FreeBSD-src-d0599e9c318e534b59a9cfaeaec80f28142d8399.tar.gz |
Create a vnode_pager object when a file is opened.
Diffstat (limited to 'sys/nfsclient/nfs_vnops.c')
-rw-r--r-- | sys/nfsclient/nfs_vnops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_vnops.c b/sys/nfsclient/nfs_vnops.c index 1f55410..7e3fe17 100644 --- a/sys/nfsclient/nfs_vnops.c +++ b/sys/nfsclient/nfs_vnops.c @@ -465,6 +465,7 @@ nfs_open(struct vop_open_args *ap) np->n_directio_opens++; } np->ra_expect_lbn = 0; + vnode_create_vobject(vp, vattr.va_size, ap->a_td); return (0); } |