commit-hurd
[Top][All Lists]
Advanced

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

[SCM] Hurd branch, master, updated. v0.5-432-g520ef2e


From: Justus Winter
Subject: [SCM] Hurd branch, master, updated. v0.5-432-g520ef2e
Date: Sun, 31 Aug 2014 10:38:00 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Hurd".

The branch, master has been updated
       via  520ef2ed66d47bb81a55829a88dda81f62dc95e5 (commit)
      from  c19a90851170077b99e694262d002a6e22145b49 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 520ef2ed66d47bb81a55829a88dda81f62dc95e5
Author: Justus Winter <address@hidden>
Date:   Fri Jun 20 13:54:28 2014 +0200

    libdiskfs: fix reference counting of peropen objects
    
    Previously, peropen objects were created with a reference count of
    zero.  Therefore, if diskfs_create_protid fails, passing such an
    object to diskfs_release_peropen would lead to a reference count
    underflow.
    
    * libdiskfs/peropen-make.c (diskfs_peropen_make): Initialize reference
    count to one.
    * libdiskfs/protid-make.c (diskfs_start_protid): And consume this
    reference on success.  Update comment.
    (diskfs_create_protid): Update comment.
    * libdiskfs/diskfs.h: Update comments.
    * libdiskfs/io-duplicate.c (diskfs_S_io_duplicate): Adjust reference
    counting accordingly.
    * libdiskfs/io-reauthenticate.c (diskfs_S_io_reauthenticate): Likewise.
    * libdiskfs/io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise.
    * doc/hurd.texi (Diskfs Internals): Update accordingly.

-----------------------------------------------------------------------

Summary of changes:
 doc/hurd.texi                 |    4 ++--
 libdiskfs/diskfs.h            |    4 ++--
 libdiskfs/io-duplicate.c      |    3 +++
 libdiskfs/io-reauthenticate.c |    2 ++
 libdiskfs/io-restrict-auth.c  |    3 +++
 libdiskfs/peropen-make.c      |    2 +-
 libdiskfs/protid-make.c       |    6 +++---
 7 files changed, 16 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

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