1. NAME▲
sync_inode - write an inode and its pages to disk.
2. SYNOPSIS ▲
int sync_inode(struct inode * inode , struct writeback_control * wbc );
3. ARGUMENTS ▲
inode
    the inode to sync
wbc
    controls the writeback mode
4. DESCRIPTION ▲
sync_inode will write an inode and its pages to disk. It will also correctly update the inode on its superblockAqs dirty inode lists and will update inode->i_state.
The caller must have a ref on the inode.
5. COPYRIGHT ▲