4 * Copyright (C) 1997 Russell King
9 * Copyright (C) 1992, 1993, 1994, 1995
10 * Remy Card (card@masi.ibp.fr)
11 * Laboratoire MASI - Institut Blaise Pascal
12 * Universite Pierre et Marie Curie (Paris VI)
16 * linux/fs/minix/file.c
18 * Copyright (C) 1991, 1992 Linus Torvalds
20 * adfs regular file handling primitives
23 #include <linux/errno.h>
25 #include <linux/ext2_fs.h>
26 #include <linux/fcntl.h>
27 #include <linux/sched.h>
28 #include <linux/stat.h>
31 * We have mostly NULLs here: the current defaults are OK for
32 * the adfs filesystem.
34 static struct file_operations adfs_file_operations
= {
35 NULL
, /* lseek - default */
36 generic_file_read
, /* read */
38 NULL
, /* readdir - bad */
39 NULL
, /* select - default */
41 generic_file_mmap
, /* mmap */
42 NULL
, /* open - not special */
45 file_fsync
, /* fsync */
47 NULL
, /* check_media_change */
51 struct inode_operations adfs_file_inode_operations
= {
52 &adfs_file_operations
, /* default file operations */
63 NULL
, /* follow_link */
64 adfs_bmap
, /* get_block */
65 block_read_full_page
, /* readpage */
68 NULL
, /* permission */