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: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Geliang Tang 2017-05-06 23:37:20 +08:00 committed by Michael Ellerman
parent c197922f0a
commit 658829dfe7
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ static const struct file_operations spufs_cntl_fops = {
.release = spufs_cntl_release,
.read = simple_attr_read,
.write = simple_attr_write,
.llseek = generic_file_llseek,
.llseek = no_llseek,
.mmap = spufs_cntl_mmap,
};