Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
file.c File Reference
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/writeback.h>
#include "nilfs.h"
#include "segment.h"

Go to the source code of this file.

Functions

int nilfs_sync_file (struct file *file, loff_t start, loff_t end, int datasync)
 

Variables

struct file_operations nilfs_file_operations
 
struct inode_operations nilfs_file_inode_operations
 

Function Documentation

int nilfs_sync_file ( struct file file,
loff_t  start,
loff_t  end,
int  datasync 
)

Definition at line 30 of file file.c.

Variable Documentation

struct inode_operations nilfs_file_inode_operations
Initial value:
= {
.truncate = nilfs_truncate,
.setattr = nilfs_setattr,
.permission = nilfs_permission,
.fiemap = nilfs_fiemap,
}

Definition at line 169 of file file.c.

struct file_operations nilfs_file_operations
Initial value:
= {
.read = do_sync_read,
.write = do_sync_write,
.aio_read = generic_file_aio_read,
.aio_write = generic_file_aio_write,
.unlocked_ioctl = nilfs_ioctl,
.mmap = nilfs_file_mmap,
.fsync = nilfs_sync_file,
.splice_read = generic_file_splice_read,
}

Definition at line 152 of file file.c.