Commit 06b1e104 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Linus Torvalds

vfs: clarify that nonseekable_open() will never fail

Signed-off-by: default avatarDmitry Torokhov <>
Acked-by: default avatarArnd Bergmann <>
Acked-by: default avatarJohn Kacur <>
Cc: Al Viro <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 454eedb8
......@@ -1031,7 +1031,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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment