input: remove BKL from uinput open function
diff mbox

Message ID 20100203050749.GA22110@core.coreip.homeip.net
State Accepted
Commit 06b1e104b7ea1bf5145643de5a3fce28b831ca4c
Headers show

Commit Message

Dmitry Torokhov Feb. 3, 2010, 5:07 a.m. UTC
None

Patch
diff mbox

diff --git a/fs/open.c b/fs/open.c
index 040cef7..02ceb73 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -1200,7 +1200,9 @@  EXPORT_SYMBOL(generic_file_open);
 
 /*
  * This is used by subsystems that don't want seekable
- * file descriptors
+ * file descriptors. The function is not supposed to ever fail, the only
+ * reason it returns an 'int' and not 'void' is so that it can be plugged
+ * directly into file_operations structure.
  */
 int nonseekable_open(struct inode *inode, struct file *filp)
 {