NTFS_WRITE_INODE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ntfs_write_inode - write out a dirty inode  

SYNOPSIS

"SYNOPSIS"

int ntfs_write_inode (struct inode * vi, int sync);  

ARGUMENTS

vi
inode to write out
sync
if true, write out synchronously
 

DESCRIPTION

Write out a dirty inode to disk including any extent inodes if present.

If sync is true, commit the inode to disk and wait for io completion. This is done using write_mft_record.

If sync is false, just schedule the write to happen but do not wait for i/o completion. In 2.6 kernels, scheduling usually happens just by virtue of marking the page (and in this case mft record) dirty but we do not implement this yet as write_mft_record largely ignores the sync parameter and always performs synchronous writes.

Return 0 on success and -errno on error.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:34 GMT, October 09, 2005