Re: 2.6.18-rc1-mm1 reiser4 module calls generic_file_read

From: Laurent Riffard
Date: Sun Jul 09 2006 - 17:45:53 EST


generic_file_read has been dropped from 2.6.18-rc1-mm1. This patch
works for me. Does it look good to reiser4 devloppers ?

Signed-off-by: Laurent Riffard <laurent.riffard@xxxxxxx>
---
fs/reiser4/plugin/file/cryptcompress.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6-mm/fs/reiser4/plugin/file/cryptcompress.c
===================================================================
--- linux-2.6-mm.orig/fs/reiser4/plugin/file/cryptcompress.c
+++ linux-2.6-mm/fs/reiser4/plugin/file/cryptcompress.c
@@ -2883,7 +2883,7 @@ ssize_t read_cryptcompress(struct file *
down_read(&info->lock);
LOCK_CNT_INC(inode_sem_r);

- result = generic_file_read(file, buf, size, off);
+ result = do_sync_read(file, buf, size, off);

up_read(&info->lock);
LOCK_CNT_DEC(inode_sem_r);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/