mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 19:49:33 -04:00
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:
committed by
Michael Ellerman
parent
c197922f0a
commit
658829dfe7
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user