Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Unified Diff: drivers/input/evdev.c

Issue 6878004: BACKPORT: Input: mark input interfaces as non-seekable (Closed) Base URL: http://git.chromium.org/git/kernel.git@master
Patch Set: Rebase on 6873042 Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | drivers/input/joydev.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: drivers/input/evdev.c
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c
index bb1dccb01073d7c5918bcd069850c7bccdc4f914..724015b0644ac6c804d2416850e4fff84b1e4024 100644
--- a/drivers/input/evdev.c
+++ b/drivers/input/evdev.c
@@ -278,6 +278,8 @@ static int evdev_open(struct inode *inode, struct file *file)
goto err_free_client;
file->private_data = client;
+ nonseekable_open(inode, file);
+
return 0;
err_free_client:
« no previous file with comments | « no previous file | drivers/input/joydev.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698