Merge branches 'master' and 'suser_to_priv'
[dragonfly.git] / sys / vm / vm_swap.c
index 4bbc472..ac6fb0c 100644 (file)
@@ -338,6 +338,7 @@ swaponvp(struct thread *td, struct vnode *vp, u_long nblks)
                blist_free(swapblist, vsbase, blk);
                vm_swap_size += blk;
        }
+       swap_pager_newswap();
 
        return (0);
 }