exofs: file and file_inode operations

implementation of the file_operations and inode_operations for
regular data files.

Most file_operations are generic vfs implementations except:
- exofs_truncate will truncate the OSD object as well
- Generic file_fsync is not good for none_bd devices so open code it
- The default for .flush in Linux is todo nothing so call exofs_fsync
  on the file.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
This commit is contained in:
Boaz Harrosh
2008-10-27 18:37:02 +02:00
parent b14f8ab284
commit e806271916
4 changed files with 250 additions and 1 deletions

View File

@@ -12,5 +12,5 @@
# Kbuild - Gets included from the Kernels Makefile and build system
#
exofs-y := osd.o
exofs-y := osd.o inode.o file.o
obj-$(CONFIG_EXOFS_FS) += exofs.o