patch-2.3.43 linux/fs/bad_inode.c
Next file: linux/fs/bfs/bfs_defs.h
Previous file: linux/fs/autofs4/waitq.c
Back to the patch index
Back to the overall index
- Lines: 43
- Date:
Thu Feb 10 12:16:57 2000
- Orig file:
v2.3.42/linux/fs/bad_inode.c
- Orig date:
Fri Jan 7 19:13:22 2000
diff -u --recursive --new-file v2.3.42/linux/fs/bad_inode.c linux/fs/bad_inode.c
@@ -30,19 +30,19 @@
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 @@
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 */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)