table of contents
other versions
- stretch 4.9.168-1
SYNC_INODE(9) | The Linux VFS | SYNC_INODE(9) |
NAME¶
sync_inode - write an inode and its pages to disk.SYNOPSIS¶
int sync_inode(struct inode * inode, struct writeback_control * wbc);
ARGUMENTS¶
inodethe inode to sync
wbc
controls the writeback mode
DESCRIPTION¶
sync_inode will write an inode and its pages to disk. It will also correctly update the inode on its superblock's dirty inode lists and will update inode->i_state.The caller must have a ref on the inode.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |