[PATCH] device-mapper: Fix queue_if_no_path initialisation
[linux-2.6/suspend2-2.6.18.git] / fs / ufs / file.c
blobed69d7fe1b5d36da783b44cd5d3acafffcba0bc2
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 <asm/uaccess.h>
27 #include <asm/system.h>
29 #include <linux/errno.h>
30 #include <linux/fs.h>
31 #include <linux/ufs_fs.h>
32 #include <linux/fcntl.h>
33 #include <linux/time.h>
34 #include <linux/stat.h>
35 #include <linux/mm.h>
36 #include <linux/pagemap.h>
37 #include <linux/smp_lock.h>
40 * We have mostly NULL's here: the current defaults are ok for
41 * the ufs filesystem.
44 struct file_operations ufs_file_operations = {
45 .llseek = generic_file_llseek,
46 .read = generic_file_read,
47 .write = generic_file_write,
48 .mmap = generic_file_mmap,
49 .open = generic_file_open,
50 .sendfile = generic_file_sendfile,
53 struct inode_operations ufs_file_inode_operations = {
54 .truncate = ufs_truncate,