OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [fs/] [isofs/] [file.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/*
2
 *  linux/fs/isofs/file.c
3
 *
4
 *  (C) 1992, 1993, 1994  Eric Youngdale Modified for ISO9660 filesystem.
5
 *
6
 *  (C) 1991  Linus Torvalds - minix filesystem
7
 *
8
 *  isofs regular file handling primitives
9
 */
10
 
11
#include <linux/sched.h>
12
#include <linux/iso_fs.h>
13
#include <linux/fcntl.h>
14
#include <linux/kernel.h>
15
#include <linux/errno.h>
16
#include <linux/stat.h>
17
#include <linux/locks.h>
18
#include <linux/fs.h>
19
#include <linux/iso_fs.h>
20
 
21
/*
22
 * We have mostly NULL's here: the current defaults are ok for
23
 * the isofs filesystem.
24
 */
25
static struct file_operations isofs_file_operations = {
26
        NULL,                   /* lseek - default */
27
        generic_file_read,      /* read */
28
        NULL,                   /* write */
29
        NULL,                   /* readdir - bad */
30
        NULL,                   /* select - default */
31
        NULL,                   /* ioctl - default */
32
        generic_file_mmap,      /* mmap */
33
        NULL,                   /* no special open is needed */
34
        NULL,                   /* release */
35
        NULL                    /* fsync */
36
};
37
 
38
struct inode_operations isofs_file_inode_operations = {
39
        &isofs_file_operations, /* default file operations */
40
        NULL,                   /* create */
41
        NULL,                   /* lookup */
42
        NULL,                   /* link */
43
        NULL,                   /* unlink */
44
        NULL,                   /* symlink */
45
        NULL,                   /* mkdir */
46
        NULL,                   /* rmdir */
47
        NULL,                   /* mknod */
48
        NULL,                   /* rename */
49
        NULL,                   /* readlink */
50
        NULL,                   /* follow_link */
51
        generic_readpage,       /* readpage */
52
        NULL,                   /* writepage */
53
        isofs_bmap,             /* bmap */
54
        NULL,                   /* truncate */
55
        NULL                    /* permission */
56
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.