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

Commit daf8a96b authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: uinput - mark as non-seekable



Seeking does not make sense for uinput so let's use nonseekable_open
to mark the device non-seekable.

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 0b7024ac
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -290,6 +290,7 @@ static int uinput_open(struct inode *inode, struct file *file)
	newdev->state = UIST_NEW_DEVICE;
	newdev->state = UIST_NEW_DEVICE;


	file->private_data = newdev;
	file->private_data = newdev;
	nonseekable_open(inode, file);


	return 0;
	return 0;
}
}