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)
commit880fe76ee6f38eda82e9f3de9a7a206dfd1bab9d
treeb5f5d085e73bdf352a9878e622d151f98bac6607
parent695f6ae0dcea3dd83bfbb9634ff067f780649ba8
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