diff mbox

input: remove BKL from uinput open function

Message ID 520f0cf11002011222h134dbf06rf1db612da9a9728@mail.gmail.com
State New, archived
Headers show

Commit Message

John Kacur Feb. 1, 2010, 8:22 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/input/misc/uinput.c b/drivers/input/misc/uinput.c
index 18206e1..697c0a6 100644
--- a/drivers/input/misc/uinput.c
+++ b/drivers/input/misc/uinput.c
@@ -291,7 +291,7 @@  static int uinput_open(struct inode *inode, struct file *fil

        file->private_data = newdev;

-       return 0;
+       return nonseekable_open(inode, file);
 }

Signed-off-by: John Kacur <jkacur@redhat.com>