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 <[EMAIL PROTECTED]>
---
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);