From 3284ce748c974b15b7b27d4af5b3317350c9dd20 Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov Date: Tue, 10 Aug 2010 18:01:33 -0700 Subject: [PATCH] --- yaml --- r: 208420 b: refs/heads/master c: 06b1e104b7ea1bf5145643de5a3fce28b831ca4c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/open.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index f4d29508157c..c382509b5e8a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 454eedb8901da895fb602998fa588cd62875d07d +refs/heads/master: 06b1e104b7ea1bf5145643de5a3fce28b831ca4c diff --git a/trunk/fs/open.c b/trunk/fs/open.c index b715d06fbe36..630715f9f73d 100644 --- a/trunk/fs/open.c +++ b/trunk/fs/open.c @@ -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) {