commit | 3d7bbd4575cfb23e6ef7368fff1f7d7e198b7930 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Thu Feb 04 00:30:42 2010 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Thu Feb 04 00:31:44 2010 -0800 |
tree | acfffe2afc69e59d97c454c5b1429fd980e05b55 | |
parent | daf8a96b2d4a5d4d1d288831be43457c84c55a2f [diff] [blame] |
Input: mark input interfaces as non-seekable Seeking does not make sense for input interfaces such as evdev and joydev so let's use nonseekable_open to mark them non-seekable. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 258c639..9f9816b 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c
@@ -278,6 +278,8 @@ goto err_free_client; file->private_data = client; + nonseekable_open(inode, file); + return 0; err_free_client: