Re: 2.6.18-rc1-mm1 reiser4 module calls generic_file_read

Laurent Riffard
2006-07-09T21:47:41Z

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@free.fr>
---
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);