2 * linux/fs/isofs/file.c
4 * (C) 1992, 1993, 1994 Eric Youngdale Modified for ISO 9660 filesystem.
6 * (C) 1991 Linus Torvalds - minix filesystem
8 * isofs regular file handling primitives
11 #include <linux/sched.h>
12 #include <linux/iso_fs.h>
13 #include <linux/fcntl.h>
14 #include <linux/kernel.h>
15 #include <linux/errno.h>
16 #include <linux/stat.h>
17 #include <linux/locks.h>
19 #include <linux/iso_fs.h>
22 * We have mostly NULLs here: the current defaults are OK for
23 * the isofs filesystem.
25 static struct file_operations isofs_file_operations
= {
26 NULL
, /* lseek - default */
27 generic_file_read
, /* read */
29 NULL
, /* readdir - bad */
30 NULL
, /* poll - default */
31 NULL
, /* ioctl - default */
32 generic_file_mmap
, /* mmap */
33 NULL
, /* no special open is needed */
39 struct inode_operations isofs_file_inode_operations
= {
40 &isofs_file_operations
, /* default file operations */
51 NULL
, /* follow_link */
52 generic_readpage
, /* readpage */
54 isofs_bmap
, /* bmap */