- int write_inode_now(struct inode * inode, int sync);
- inode to write to disk
- whether the write should be synchronous or not
This function commits an inode to disk immediately if it is dirty. This is primarily needed by knfsd.
The caller must either have a ref on the inode or must have set I_WILL_FREE.