commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 20/36: Properly return error


From: Samuel Thibault
Subject: [hurd] 20/36: Properly return error
Date: Tue, 24 Sep 2013 12:31:16 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 35cfab06b50bc48dbf8fd2178197f52a8cfc2963
Author: Samuel Thibault <address@hidden>
Date:   Sat Sep 21 13:51:35 2013 +0200

    Properly return error
    
    * isofs/pager.c (pager_read_page): Return error returned by `store_read`, if
    any.
---
 isofs/pager.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/isofs/pager.c b/isofs/pager.c
index 7a38ba3..d72a514 100644
--- a/isofs/pager.c
+++ b/isofs/pager.c
@@ -68,6 +68,9 @@ pager_read_page (struct user_pager_info *upi,
     }
 
   err = store_read (store, addr, vm_page_size, (void **) buf, &read);
+  if (err)
+    return err;
+
   if (read != vm_page_size)
     return EIO;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]