1SYNC_INODE(9) The Linux VFS SYNC_INODE(9)
2
3
4
6 sync_inode - write an inode and its pages to disk.
7
9 int sync_inode(struct inode * inode, struct writeback_control * wbc);
10
12 inode
13 the inode to sync
14
15 wbc
16 controls the writeback mode
17
19 sync_inode will write an inode and its pages to disk. It will also
20 correctly update the inode on its superblock's dirty inode lists and
21 will update inode->i_state.
22
23 The caller must have a ref on the inode.
24
26Kernel Hackers Manual 3.10 June 2019 SYNC_INODE(9)