]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/openpromfs/inode.c
[PATCH] fix ->llseek for more directories
[linux-2.6-omap-h63xx.git] / fs / openpromfs / inode.c
index d17b4fd204e1f434558fdc55e78f6be0002a576e..d41bdc784de4e920c2966fe0d18d27228df95aed 100644 (file)
@@ -167,6 +167,7 @@ static int openpromfs_readdir(struct file *, void *, filldir_t);
 static const struct file_operations openprom_operations = {
        .read           = generic_read_dir,
        .readdir        = openpromfs_readdir,
+       .llseek         = generic_file_llseek,
 };
 
 static struct dentry *openpromfs_lookup(struct inode *, struct dentry *, struct nameidata *);
@@ -430,7 +431,7 @@ static struct file_system_type openprom_fs_type = {
        .kill_sb        = kill_anon_super,
 };
 
-static void op_inode_init_once(struct kmem_cache * cachep, void *data)
+static void op_inode_init_once(void *data)
 {
        struct op_inode_info *oi = (struct op_inode_info *) data;