[PATCH] ramfs: use rgeneric_file_llseek
authorAndrew Morton <akpm@osdl.org>
Wed, 2 Jul 2003 15:47:51 +0000 (08:47 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 2 Jul 2003 15:47:51 +0000 (08:47 -0700)
Teach ramfs to use generic_file_llseek: default_llseek takes lock_kernel().

fs/ramfs/inode.c

index 372f065..bd0a676 100644 (file)
@@ -146,6 +146,7 @@ static struct file_operations ramfs_file_operations = {
        .mmap           = generic_file_mmap,
        .fsync          = simple_sync_file,
        .sendfile       = generic_file_sendfile,
+       .llseek         = generic_file_llseek,
 };
 
 static struct inode_operations ramfs_file_inode_operations = {