Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
};