From aba344fdfed81b2c03d6114c54cfd73a486aa10b Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 5 Jul 1999 23:09:37 +0000 Subject: Merge with Linux 2.3.9. --- fs/efs/dir.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'fs/efs/dir.c') diff --git a/fs/efs/dir.c b/fs/efs/dir.c index ea484dab4..29f2ebbc3 100644 --- a/fs/efs/dir.c +++ b/fs/efs/dir.c @@ -25,6 +25,8 @@ static struct file_operations efs_dir_operations = { NULL /* revalidate */ }; +extern int efs_get_block(struct inode *, long, struct buffer_head *, int); + struct inode_operations efs_dir_inode_operations = { &efs_dir_operations, /* default directory file-ops */ NULL, /* create */ @@ -38,12 +40,14 @@ struct inode_operations efs_dir_inode_operations = { NULL, /* rename */ NULL, /* readlink */ NULL, /* follow_link */ + efs_get_block, /* get_block */ NULL, /* readpage */ NULL, /* writepage */ - efs_bmap, /* bmap */ + NULL, /* flushpage */ NULL, /* truncate */ NULL, /* permission */ - NULL /* smap */ + NULL, /* smap */ + NULL /* revalidate */ }; static int efs_readdir(struct file *filp, void *dirent, filldir_t filldir) { -- cgit v1.2.3