5 /*===========================================================================*
7 *===========================================================================*/
10 /* Perform the sync() system call. Flush all the tables.
11 * The order in which the various tables are flushed is critical. The
12 * blocks must be flushed last, since rw_inode() leaves its results in
17 /* Write all the dirty inodes to the disk. */
18 for(rip
= &inode
[0]; rip
< &inode
[NR_INODES
]; rip
++)
19 if(rip
->i_count
> 0 && IN_ISDIRTY(rip
)) rw_inode(rip
, WRITING
);
21 /* Write all the dirty blocks to the disk. */