Commit c94f7f38 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ramfs: use rgeneric_file_llseek

Teach ramfs to use generic_file_llseek: default_llseek takes lock_kernel().
parent d4388840
......@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment