blob: 312fd3f86313b61a7d6f7230699cc2f763d69008 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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
Linus Torvalds1da177e2005-04-16 15:20:36 -070026#include <linux/fs.h>
27#include <linux/ufs_fs.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070028
29/*
30 * We have mostly NULL's here: the current defaults are ok for
31 * the ufs filesystem.
32 */
33
Arjan van de Ven4b6f5d22006-03-28 01:56:42 -080034const struct file_operations ufs_file_operations = {
Linus Torvalds1da177e2005-04-16 15:20:36 -070035 .llseek = generic_file_llseek,
36 .read = generic_file_read,
37 .write = generic_file_write,
38 .mmap = generic_file_mmap,
39 .open = generic_file_open,
40 .sendfile = generic_file_sendfile,
41};
42
43struct inode_operations ufs_file_inode_operations = {
44 .truncate = ufs_truncate,
45};