*参照元 [#x7d9e2b9] #backlinks *説明 [#i200f595] -パス: [[linux-2.6.33/fs/sync.c]] -FIXME: これは何? --説明 **引数 [#i70a822e] -struct file *file -- --[[linux-2.6.33/file]] -struct dentry *dentry -- --[[linux-2.6.33/dentry]] -int datasync -- **返り値 [#a29a2918] -int -- **参考 [#g811a564] *実装 [#c0496e0f] /** * vfs_fsync - perform a fsync or fdatasync on a file * @file: file to sync * @dentry: dentry of @file * @datasync: only perform a fdatasync operation * * Write back data and metadata for @file to disk. If @datasync is * set only metadata needed to access modified file data is written. * * In case this function is called from nfsd @file may be %NULL and * only @dentry is set. This can only happen when the filesystem * implements the export_operations API. */ int vfs_fsync(struct file *file, struct dentry *dentry, int datasync) { return vfs_fsync_range(file, dentry, 0, LLONG_MAX, datasync); - --[[linux-2.6.33/vfs_fsync_range()]] } EXPORT_SYMBOL(vfs_fsync); -ライセンスに関係なくシンボルを公開する。 --[[linux-2.6.33/EXPORT_SYMBOL()]] *コメント [#b4d50c8b]