x86, ioapic: Fix io_apic_redir_entries to return the number of entries.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / fs / ufs / file.c
bloba8962cecde5bd6645c13525d4fa0fd8106f5d6dc
1 /*
2 * linux/fs/ufs/file.c
4 * Copyright (C) 1998
5 * Daniel Pirkl <daniel.pirkl@email.cz>
6 * Charles University, Faculty of Mathematics and Physics
8 * from
10 * linux/fs/ext2/file.c
12 * Copyright (C) 1992, 1993, 1994, 1995
13 * Remy Card (card@masi.ibp.fr)
14 * Laboratoire MASI - Institut Blaise Pascal
15 * Universite Pierre et Marie Curie (Paris VI)
17 * from
19 * linux/fs/minix/file.c
21 * Copyright (C) 1991, 1992 Linus Torvalds
23 * ext2 fs regular file handling primitives
26 #include <linux/fs.h>
27 #include <linux/quotaops.h>
29 #include "ufs_fs.h"
30 #include "ufs.h"
33 * We have mostly NULL's here: the current defaults are ok for
34 * the ufs filesystem.
37 const struct file_operations ufs_file_operations = {
38 .llseek = generic_file_llseek,
39 .read = do_sync_read,
40 .aio_read = generic_file_aio_read,
41 .write = do_sync_write,
42 .aio_write = generic_file_aio_write,
43 .mmap = generic_file_mmap,
44 .open = dquot_file_open,
45 .fsync = simple_fsync,
46 .splice_read = generic_file_splice_read,