Wipe inodes of pipes in truncate_inode(), to avoid the size remaining
at PIPE_SIZE causing pipes to break.
/* Next correct the inode size. */
if(!waspipe) rip->i_size = newsize;
+ else wipe_inode(rip); /* Pipes can only be truncated to 0. */
rip->i_dirt = DIRTY;
return OK;
/* Only PM may make this call directly. */
if (who != PM_PROC_NR) return(EGENERIC);
- /* Sync before the drivers die. */
- do_sync();
-
/* Do exit processing for all leftover processes and servers. */
for (i = 0; i < NR_PROCS; i++) { m_in.slot1 = i; do_exit(); }