diff options
| author | Alfred Perlstein <alfred@FreeBSD.org> | 2006-01-17 17:29:03 +0000 |
|---|---|---|
| committer | Alfred Perlstein <alfred@FreeBSD.org> | 2006-01-17 17:29:03 +0000 |
| commit | 92e73f5711f62acfb32f1c05600904e13d6aa0e9 (patch) | |
| tree | 8c53b5780d1f21ba97c11f102413f8370e4d4ca0 /sys/fs/ntfs | |
| parent | 2971d7ab9b2b94937fa79d7a1e299f96cb339542 (diff) | |
Notes
Diffstat (limited to 'sys/fs/ntfs')
| -rw-r--r-- | sys/fs/ntfs/ntfs_vnops.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/fs/ntfs/ntfs_vnops.c b/sys/fs/ntfs/ntfs_vnops.c index d5a017fe76ca..86c883b39910 100644 --- a/sys/fs/ntfs/ntfs_vnops.c +++ b/sys/fs/ntfs/ntfs_vnops.c @@ -248,6 +248,11 @@ ntfs_reclaim(ap) if (ntfs_prtactive && vrefcnt(vp) != 0) vprint("ntfs_reclaim: pushing active", vp); + /* + * Destroy the vm object and flush associated pages. + */ + vnode_destroy_vobject(vp); + if ((error = ntfs_ntget(ip)) != 0) return (error); @@ -255,7 +260,6 @@ ntfs_reclaim(ap) ntfs_frele(fp); ntfs_ntput(ip); vp->v_data = NULL; - vnode_destroy_vobject(vp); return (0); } |
