diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-05 19:41:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-05 19:41:22 -0400 |
commit | 9efe21cb82b5dbe3b0b2ae4de4eccc64ecb94e95 (patch) | |
tree | 7ff8833745d2f268f897f6fa4a27263b4a572245 /fs/hppfs/hppfs.c | |
parent | de18836e447c2dc30120c0919b8db8ddc0401cc4 (diff) | |
parent | 0221c81b1b8eb0cbb6b30a0ced52ead32d2b4e4c (diff) |
Merge branch 'linus' into irq/threaded
Conflicts:
include/linux/irq.h
kernel/irq/handle.c
Diffstat (limited to 'fs/hppfs/hppfs.c')
-rw-r--r-- | fs/hppfs/hppfs.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c index b278f7f52024..a5089a6dd67a 100644 --- a/fs/hppfs/hppfs.c +++ b/fs/hppfs/hppfs.c | |||
@@ -280,7 +280,12 @@ static ssize_t hppfs_read(struct file *file, char __user *buf, size_t count, | |||
280 | "errno = %d\n", err); | 280 | "errno = %d\n", err); |
281 | return err; | 281 | return err; |
282 | } | 282 | } |
283 | count = hppfs_read_file(hppfs->host_fd, buf, count); | 283 | err = hppfs_read_file(hppfs->host_fd, buf, count); |
284 | if (err < 0) { | ||
285 | printk(KERN_ERR "hppfs_read: read failed: %d\n", err); | ||
286 | return err; | ||
287 | } | ||
288 | count = err; | ||
284 | if (count > 0) | 289 | if (count > 0) |
285 | *ppos += count; | 290 | *ppos += count; |
286 | } | 291 | } |