projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] I2O: handle __copy_from_user
[powerpc.git]
/
fs
/
bad_inode.c
diff --git
a/fs/bad_inode.c
b/fs/bad_inode.c
index
e172180
..
34e6d7b
100644
(file)
--- a/
fs/bad_inode.c
+++ b/
fs/bad_inode.c
@@
-22,7
+22,7
@@
static int return_EIO(void)
#define EIO_ERROR ((void *) (return_EIO))
#define EIO_ERROR ((void *) (return_EIO))
-static struct file_operations bad_file_ops =
+static
const
struct file_operations bad_file_ops =
{
.llseek = EIO_ERROR,
.aio_read = EIO_ERROR,
{
.llseek = EIO_ERROR,
.aio_read = EIO_ERROR,
@@
-40,8
+40,6
@@
static struct file_operations bad_file_ops =
.aio_fsync = EIO_ERROR,
.fasync = EIO_ERROR,
.lock = EIO_ERROR,
.aio_fsync = EIO_ERROR,
.fasync = EIO_ERROR,
.lock = EIO_ERROR,
- .readv = EIO_ERROR,
- .writev = EIO_ERROR,
.sendfile = EIO_ERROR,
.sendpage = EIO_ERROR,
.get_unmapped_area = EIO_ERROR,
.sendfile = EIO_ERROR,
.sendpage = EIO_ERROR,
.get_unmapped_area = EIO_ERROR,