summaryrefslogtreecommitdiffstats
path: root/fs/bad_inode.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-23 00:40:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-23 00:40:54 +0000
commit529c593ece216e4aaffd36bd940cb94f1fa63129 (patch)
tree78f1c0b805f5656aa7b0417a043c5346f700a2cf /fs/bad_inode.c
parent0bd079751d25808d1972baee5c4eaa1db2227257 (diff)
Merge with 2.3.43. I did ignore all modifications to the qlogicisp.c
driver due to the Origin A64 hacks.
Diffstat (limited to 'fs/bad_inode.c')
-rw-r--r--fs/bad_inode.c29
1 files changed, 13 insertions, 16 deletions
diff --git a/fs/bad_inode.c b/fs/bad_inode.c
index bff2689a0..931a32a4e 100644
--- a/fs/bad_inode.c
+++ b/fs/bad_inode.c
@@ -30,19 +30,19 @@ static int return_EIO(void)
static struct file_operations bad_file_ops =
{
- EIO_ERROR, /* lseek */
- EIO_ERROR, /* read */
- EIO_ERROR, /* write */
- EIO_ERROR, /* readdir */
- EIO_ERROR, /* select */
- EIO_ERROR, /* ioctl */
- EIO_ERROR, /* mmap */
- EIO_ERROR, /* open */
- EIO_ERROR, /* flush */
- EIO_ERROR, /* release */
- EIO_ERROR, /* fsync */
- EIO_ERROR, /* fasync */
- EIO_ERROR, /* lock */
+ llseek: EIO_ERROR,
+ read: EIO_ERROR,
+ write: EIO_ERROR,
+ readdir: EIO_ERROR,
+ poll: EIO_ERROR,
+ ioctl: EIO_ERROR,
+ mmap: EIO_ERROR,
+ open: EIO_ERROR,
+ flush: EIO_ERROR,
+ release: EIO_ERROR,
+ fsync: EIO_ERROR,
+ fasync: EIO_ERROR,
+ lock: EIO_ERROR,
};
struct inode_operations bad_inode_ops =
@@ -59,9 +59,6 @@ struct inode_operations bad_inode_ops =
EIO_ERROR, /* rename */
EIO_ERROR, /* readlink */
bad_follow_link, /* follow_link */
- EIO_ERROR, /* get_block */
- EIO_ERROR, /* readpage */
- EIO_ERROR, /* writepage */
EIO_ERROR, /* truncate */
EIO_ERROR, /* permission */
EIO_ERROR /* revalidate */