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-149-g4552df2


From: Richard Braun
Subject: [SCM] Hurd branch, master, updated. v0.5-149-g4552df2
Date: Wed, 05 Feb 2014 22:59: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  4552df253251a92b0355bc6cc58513aa5feb8b30 (commit)
       via  4edd4887541eeff2970c27aa16328a42051e20f4 (commit)
       via  801256914d42b3aa4bb0af22432471b1d911a66c (commit)
       via  90246df5d413c6b6a2d57d66c48c2fe3206eb42b (commit)
      from  b17be9b496a6dfe10babb8102d8e55ad9a3fc2e2 (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 4552df253251a92b0355bc6cc58513aa5feb8b30
Author: Richard Braun <address@hidden>
Date:   Wed Feb 5 23:57:41 2014 +0100

    trans/fakeroot: rework node caching
    
    Instead of the FAKE_REFERENCE flag, rework node caching so that nodes are
    retained only if their attributes are actually changed. In addition, don't
    remove unreferenced nodes from the hash table at protid release, since
    their reference counter is unstable. Do it on node destruction, once the
    reference counter has reached 0. This means lookups can return nodes not
    referenced (other than by the hash table), a condition for which a check
    is added. By never acquiring a reference on such nodes, their counter is
    guaranteed to remain stable once unreferenced.
    
    * trans/fakeroot.c (FAKE_REFERENCE): Remove macro.
    (FAKE_DEFAULT): New macro.
    (set_default_attributes): New function.
    (set_faked_attribute): Likewise.
    (netfs_node_norefs): Remove node from hash table, properly taking care
    of all the locks involved.
    (fakeroot_netfs_release_protid): Remove node handling code, merely call
    netfs_release_protid.
    (netfs_S_dir_lookup): Handle unreferenced nodes, call set_default_attributes
    on node creation, remove call to netfs_attempt_chown.
    (netfs_attempt_chown): Call set_faked_attribute instead of accessing faked
    flags directly.
    (netfs_attempt_chauthor): Likewise.
    (netfs_attempt_chmod): Likewise.
    (main): Likewise.

commit 4edd4887541eeff2970c27aa16328a42051e20f4
Author: Richard Braun <address@hidden>
Date:   Wed Feb 5 23:57:40 2014 +0100

    trans/fakeroot: fix chmod
    
    Unconditionally relay chmod requests instead of filtering those that
    don't change the executable bit.
    
    * trans/fakeroot.c (netfs_attempt_chmod): Unconditionally call file_chmod
    with an unaltered mode.

commit 801256914d42b3aa4bb0af22432471b1d911a66c
Author: Richard Braun <address@hidden>
Date:   Wed Feb 5 23:57:40 2014 +0100

    Revert "trans: fix locking issue in fakeroot"
    
    This reverts commit 672005782e57e049c7c8f4d6d0b2a80c0df512b4.
    
    That change is apparently not needed and introduced a deadlock.
    
    * trans/fakeroot.c (netfs_attempt_mkfile): Unlock directory node before
    creating new node.

commit 90246df5d413c6b6a2d57d66c48c2fe3206eb42b
Author: Richard Braun <address@hidden>
Date:   Wed Feb 5 23:57:39 2014 +0100

    trans/fakeroot: fix right leak
    
    * trans/fakeroot.c (netfs_S_dir_lookup): Deallocate rights to intermediate
    file systems.

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

Summary of changes:
 trans/fakeroot.c |  143 ++++++++++++++++++++++++++---------------------------
 1 files changed, 70 insertions(+), 73 deletions(-)


hooks/post-receive
-- 
Hurd



reply via email to

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