aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ufs/file.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /fs/ufs/file.c
Linux-2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'fs/ufs/file.c')
-rw-r--r--fs/ufs/file.c55
1 files changed, 55 insertions, 0 deletions
diff --git a/fs/ufs/file.c b/fs/ufs/file.c
new file mode 100644
index 00000000000..ed69d7fe1b5
--- /dev/null
+++ b/fs/ufs/file.c
@@ -0,0 +1,55 @@
1/*
2 * linux/fs/ufs/file.c
3 *
4 * Copyright (C) 1998
5 * Daniel Pirkl <daniel.pirkl@email.cz>
6 * Charles University, Faculty of Mathematics and Physics
7 *
8 * from
9 *
10 * linux/fs/ext2/file.c
11 *
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)
16 *
17 * from
18 *
19 * linux/fs/minix/file.c
20 *
21 * Copyright (C) 1991, 1992 Linus Torvalds
22 *
23 * ext2 fs regular file handling primitives
24 */
25
26#include <asm/uaccess.h>
27#include <asm/system.h>
28
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>
38
39/*
40 * We have mostly NULL's here: the current defaults are ok for
41 * the ufs filesystem.
42 */
43
44struct 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,
51};
52
53struct inode_operations ufs_file_inode_operations = {
54 .truncate = ufs_truncate,
55};