Commit 658829df authored by Geliang Tang's avatar Geliang Tang Committed by Michael Ellerman

powerpc/cell: set no_llseek in spufs_cntl_fops

In spufs_cntl_fops, since we use nonseekable_open() to open, we
should use no_llseek() to seek, not generic_file_llseek().
Signed-off-by: default avatarGeliang Tang <geliangtang@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent c197922f
...@@ -459,7 +459,7 @@ static const struct file_operations spufs_cntl_fops = { ...@@ -459,7 +459,7 @@ static const struct file_operations spufs_cntl_fops = {
.release = spufs_cntl_release, .release = spufs_cntl_release,
.read = simple_attr_read, .read = simple_attr_read,
.write = simple_attr_write, .write = simple_attr_write,
.llseek = generic_file_llseek, .llseek = no_llseek,
.mmap = spufs_cntl_mmap, .mmap = spufs_cntl_mmap,
}; };
......
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