diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1998-05-07 02:55:41 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1998-05-07 02:55:41 +0000 |
commit | dcec8a13bf565e47942a1751a9cec21bec5648fe (patch) | |
tree | 548b69625b18cc2e88c3e68d0923be546c9ebb03 /fs/umsdos/file.c | |
parent | 2e0f55e79c49509b7ff70ff1a10e1e9e90a3dfd4 (diff) |
o Merge with Linux 2.1.99.
o Fix ancient bug in the ELF loader making ldd crash.
o Fix ancient bug in the keyboard code for SGI, SNI and Jazz.
Diffstat (limited to 'fs/umsdos/file.c')
-rw-r--r-- | fs/umsdos/file.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/fs/umsdos/file.c b/fs/umsdos/file.c index 04a3320ec..b7f58a2b9 100644 --- a/fs/umsdos/file.c +++ b/fs/umsdos/file.c @@ -144,3 +144,38 @@ struct inode_operations umsdos_file_inode_operations_no_bmap = { NULL, /* smap */ }; +/* For other with larger and unaligned file system with readpage */ +struct file_operations umsdos_file_operations_readpage = { + NULL, /* lseek - default */ + UMSDOS_file_read, /* read */ + UMSDOS_file_write, /* write */ + NULL, /* readdir - bad */ + NULL, /* poll - default */ + NULL, /* ioctl - default */ + generic_file_mmap, /* mmap */ + NULL, /* no special open is needed */ + NULL, /* release */ + file_fsync /* fsync */ +}; + +struct inode_operations umsdos_file_inode_operations_readpage = { + &umsdos_file_operations_readpage, /* default file operations */ + NULL, /* create */ + NULL, /* lookup */ + NULL, /* link */ + NULL, /* unlink */ + NULL, /* symlink */ + NULL, /* mkdir */ + NULL, /* rmdir */ + NULL, /* mknod */ + NULL, /* rename */ + NULL, /* readlink */ + NULL, /* follow link */ + fat_readpage, /* readpage */ + NULL, /* writepage */ + NULL, /* bmap */ + UMSDOS_truncate, /* truncate */ + NULL, /* permission */ + NULL, /* smap */ +}; + |