]> git.baikalelectronics.ru Git - kernel.git/commit
hppfs: hppfs_read_file() may return -ERROR
authorRoel Kluin <roel.kluin@gmail.com>
Thu, 2 Apr 2009 23:57:18 +0000 (16:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:04:53 +0000 (19:04 -0700)
commitf9dcaa8a13b59c1d84cab97bf4465b1b14a376a4
treeb5f5d085e73bdf352a9878e622d151f98bac6607
parent3f60898ef682eae7cfddd8e08d28cdf8dfdec32b
hppfs: hppfs_read_file() may return -ERROR

hppfs_read_file() may return (ssize_t) -ENOMEM, or -EFAULT.  When stored
in size_t 'count', these errors will not be noticed, a large value will be
added to *ppos.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/hppfs/hppfs.c