write_inode_now

Name

write_inode_now --  write an inode to disk

Synopsis

void write_inode_now (struct inode * inode, int sync);

Arguments

inode

inode to write to disk

sync

whether the write should be synchronous or not

Description

This function commits an inode to disk immediately if it is dirty. This is primarily needed by knfsd.